From 1532ae28ba34915aae3f289a6b2f9f86fe5bd144 Mon Sep 17 00:00:00 2001 From: nokoe Date: Fri, 27 Sep 2024 23:50:20 +0200 Subject: flush map in character edit scene --- client/menu/character.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/client/menu/character.gd b/client/menu/character.gd index 6af30250..67087b76 100644 --- a/client/menu/character.gd +++ b/client/menu/character.gd @@ -53,6 +53,7 @@ func init_map(): for y in tiles.size(): for x in tiles[y].size(): map.set_tile(Vector2i(x,y) - co, gt.call([x,y]), [[x,y-1],[x-1,y],[x,y+1],[x+1,y]].map(gt)) + map.flush() func _input(_event): if Input.is_action_just_pressed("ui_cancel"): -- cgit v1.2.3-70-g09d2