aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2026-03-01 21:20:52 +0100
committertpart <tpart120@proton.me>2026-03-01 21:20:52 +0100
commitd6acbd76a81bb97c1ff74a66a2af9b00713ca6d0 (patch)
treecd99cf1399ed8bb1c0f39ac52374c985386cf27c /client
parent4e17ada3d54352fcfd013b6bdb6e92950d802135 (diff)
downloadhurrycurry-d6acbd76a81bb97c1ff74a66a2af9b00713ca6d0.tar
hurrycurry-d6acbd76a81bb97c1ff74a66a2af9b00713ca6d0.tar.bz2
hurrycurry-d6acbd76a81bb97c1ff74a66a2af9b00713ca6d0.tar.zst
Fix: Remove items from cutting boards, rolling boards, etc. in main menu background
Diffstat (limited to 'client')
-rw-r--r--client/gui/menus/main/background.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gui/menus/main/background.gd b/client/gui/menus/main/background.gd
index f4a66c93..4eff583c 100644
--- a/client/gui/menus/main/background.gd
+++ b/client/gui/menus/main/background.gd
@@ -46,7 +46,7 @@ func _ready():
if k > 0.6: tiles = ["floor"] + choose_weighted(TOOLS_WEIGHTED)
if not tiles.is_empty():
tiles_dict[Vector2i(x,y)] = tiles
- if tiles.has("counter") and randf() > 0.5 and w > 0.45:
+ if tiles.has("counter") and tiles.size() <= 2 and randf() > 0.5 and w > 0.45:
item_counters.push_back(Vector2i(x, y))
map.set_all_tiles(tiles_dict)
map.flush()