aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/game.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd
index 465c1aec..727cb701 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -436,11 +436,11 @@ func get_tile_interactive(pos: Vector2i, hands: Array) -> bool:
if tile_name == null: return false
var tile = tile_index_by_name[tile_name]
if map.get_tile_instance(pos).item != null: return true
- if !tile_placeable_items.has(tile): return true
for hand in hands:
if hand == null:
if tile_interactable_empty.has(tile): return true
else:
+ if not tile_placeable_items.has(tile): return true
if item_index_by_name[hand.item_name] in tile_placeable_items[tile]: return true
return false