aboutsummaryrefslogtreecommitdiff
path: root/client/gui
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2026-02-26 20:41:51 +0100
committertpart <tpart120@proton.me>2026-02-26 20:49:58 +0100
commitcabc45cd02d2159d89bb37fc29bf83a23e89b8f0 (patch)
tree9a6ac402a1dbe3f396468ab74f000a7b24c76d3f /client/gui
parent04dd47d13a8da9224e7f9ea8ccacf64129717ec1 (diff)
downloadhurrycurry-cabc45cd02d2159d89bb37fc29bf83a23e89b8f0.tar
hurrycurry-cabc45cd02d2159d89bb37fc29bf83a23e89b8f0.tar.bz2
hurrycurry-cabc45cd02d2159d89bb37fc29bf83a23e89b8f0.tar.zst
Fix kitchen background not working
Diffstat (limited to 'client/gui')
-rw-r--r--client/gui/menus/main/background.gd3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/gui/menus/main/background.gd b/client/gui/menus/main/background.gd
index 6bf31ef9..e45fdaaa 100644
--- a/client/gui/menus/main/background.gd
+++ b/client/gui/menus/main/background.gd
@@ -40,8 +40,7 @@ func _ready():
tiles[Vector2i(x,y)] = [tile]
if tile == "counter" and randf() > 0.5 and w > 0.45:
item_counters.push_back(Vector2i(x, y))
- for pos: Vector2i in tiles:
- map.set_tiles(Vector2i(pos.x, pos.y), tiles[pos], tiles)
+ map.set_all_tiles(tiles)
map.flush()
for v: Vector2i in item_counters: