From 03c0fcc279b73c56cec439c3c71e232416c88e28 Mon Sep 17 00:00:00 2001 From: dingo Date: Mon, 16 Mar 2026 16:28:20 -0400 Subject: [PATCH] misstyped Var --- 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 8036b58..edce54e 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -548,8 +548,8 @@ func _try_load_tile_bottom(body_ref: Variant, url: String) -> void: # So shift by -(tile_h/2 + scaled_h): var tile_h : float = float(b.get_meta("tile_height", 1.0)) var btm_aabb := _model_local_aabb(bottom_node) - var btm_fp := max(btm_aabb.size.x, btm_aabb.size.z) - var scaled_h := btm_aabb.size.y * (0.98 / btm_fp) if btm_fp > 0.0 else 0.0 + var btm_fp : float = max(btm_aabb.size.x, btm_aabb.size.z) + var scaled_h : float = btm_aabb.size.y * (0.98 / btm_fp) if btm_fp > 0.0 else 0.0 _fit_model_to_tile(bottom_node, 0.98) bottom_node.position.y -= tile_h * 0.5 + scaled_h b.add_child(bottom_node)