diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index 6b1c3c1..6b491bd 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -2698,7 +2698,7 @@ func _handle_board_click(mouse_pos: Vector2) -> void: if unit_id.is_empty() and coord.x >= 0: var _t := Game.get_tile(coord.x, coord.y) var _raw_occ = _t.get("occupantId") - var _occ := _raw_occ if _raw_occ is String else "" + var _occ : Variant = _raw_occ if _raw_occ is String else "" if not _occ.is_empty() and _occ != "null": unit_id = _occ # Show tile detail drawer and optionally pan camera. @@ -2769,7 +2769,7 @@ func _handle_board_click(mouse_pos: Vector2) -> void: if unit_id.is_empty() and coord.x >= 0: var _t2 := Game.get_tile(coord.x, coord.y) var _raw_occ2 = _t2.get("occupantId") - var _occ2 := _raw_occ2 if _raw_occ2 is String else "" + var _occ2 : Variant = _raw_occ2 if _raw_occ2 is String else "" if not _occ2.is_empty() and _occ2 != "null": unit_id = _occ2 if not unit_id.is_empty():