diff options
author | nokoe <nokoe@mailbox.org> | 2024-09-26 19:38:58 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-09-26 20:28:08 +0200 |
commit | 2031a8b9d2bf568f538cc9223713f50c77bac897 (patch) | |
tree | 82d9ed6f8502bcd1d949e28d4d61528b8478c437 /client/game.gd | |
parent | 2a96dbb14fe268c90025d1d0af5e66dc9b00f214 (diff) | |
download | hurrycurry-2031a8b9d2bf568f538cc9223713f50c77bac897.tar hurrycurry-2031a8b9d2bf568f538cc9223713f50c77bac897.tar.bz2 hurrycurry-2031a8b9d2bf568f538cc9223713f50c77bac897.tar.zst |
floor as one mesh
Diffstat (limited to 'client/game.gd')
-rw-r--r-- | client/game.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/game.gd b/client/game.gd index 1eee4001..a296706d 100644 --- a/client/game.gd +++ b/client/game.gd @@ -183,6 +183,8 @@ func handle_packet(p): if neighbors != null: neighbors = neighbors.map(func(x): return tile_names[x] if x != null else null) map.set_tile(p.tile, tile_names[p.kind], neighbors) else: map.clear_tile(p.tile) + "flush_map": + map.flush() "communicate": var timeout_initial: float = p.timeout.initial if p.timeout != null else 5. var timeout_remaining: float = p.timeout.remaining if p.timeout != null else 5. |