From eb7a8e57b1cb7b74dd967709e869d9b0f27eb24d Mon Sep 17 00:00:00 2001 From: dingo Date: Mon, 16 Mar 2026 18:14:51 -0400 Subject: [PATCH] missmatch Type --- Client/origin-client/scenes/game/game_screen.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index 420ce72..890ed23 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -1283,8 +1283,8 @@ func _animate_unit_move(iid: String, from_coord: Vector2i, to_coord: Vector2i, # Compute how far above the tile top this unit sits so we can preserve that # offset as it moves across tiles of different stagger heights. var from_key := "%d,%d" % [from_coord.x, from_coord.y] - var from_tile_top := _tile_y_bases.get(from_key, 0.0) + _tile_heights.get(from_key, 1.0) - var unit_above := body.position.y - from_tile_top + var from_tile_top : int = _tile_y_bases.get(from_key, 0.0) + _tile_heights.get(from_key, 1.0) + var unit_above : float = body.position.y - from_tile_top # Pre-compute per-step Y positions. var step_ys : Array[float] = [] for step : Vector2i in path: