diff options
-rw-r--r-- | client/game.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/game.gd b/client/game.gd index 4b90f00c..51b34544 100644 --- a/client/game.gd +++ b/client/game.gd @@ -144,12 +144,12 @@ func _process(delta): marker.position = lerp(marker.position, marker_target, delta * 40.0) func get_tile_collision(pos: Vector2i) -> bool: - var t: Array = tile_by_pos.get(str(pos)) + var t = tile_by_pos.get(str(pos)) if t == null: return false else: return tile_collide[t[0]] func get_tile_interactive(pos: Vector2i) -> bool: - var t: Array = tile_by_pos.get(str(pos)) + var t = tile_by_pos.get(str(pos)) if t == null: return false else: return tile_interact[t[0]] |