Old Tam speaks (Kokoro); CC0 birdsong, crickets and owls; no plants through floors; menu and marker fixes
This commit is contained in:
@@ -859,6 +859,11 @@ func spawn_piece(def: Dictionary, xf: Transform3D, extra: Dictionary = {}) -> No
|
||||
build.recompute()
|
||||
if piece.kind == "floor":
|
||||
_update_grass_cuts()
|
||||
# Sticks, stones and plants it's built over are gone (cleared as if picked,
|
||||
# so a server tells everyone and the save keeps it; regrowth won't put them
|
||||
# back under a building). Also on load, for huts built before this.
|
||||
if piece.is_in_group("build") and not WorldNet.is_client():
|
||||
props.clear_under.call_deferred(piece)
|
||||
if server_mode and not _applying:
|
||||
piece_added.emit(piece)
|
||||
return piece
|
||||
|
||||
Reference in New Issue
Block a user