aboutsummaryrefslogtreecommitdiff
path: root/client/game.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/game.gd')
-rw-r--r--client/game.gd2
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.