aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()