diff --git a/Client/origin-client/scenes/game/components/units/unit_mesh_builder.gd b/Client/origin-client/scenes/game/components/units/unit_mesh_builder.gd index 357effd..e8c21e6 100644 --- a/Client/origin-client/scenes/game/components/units/unit_mesh_builder.gd +++ b/Client/origin-client/scenes/game/components/units/unit_mesh_builder.gd @@ -101,14 +101,6 @@ func _acquire_from_pool(card_type: String) -> StaticBody3D: ## Recreating a unit body interrupts its running animation (idle/move/attack), ## causing a one-frame bind-pose flash on every state echo. func rebuild_units(state: Dictionary) -> void: - # Kill all in-flight shader tweens so ShaderMaterial refs are released now. - for t: Tween in _active_tweens: - if is_instance_valid(t): - t.kill() - _active_tweens.clear() - if OS.is_debug_build(): - print("UnitMeshBuilder: rebuild - killed %d shader tweens" % _active_tweens.size()) - # Kill any in-flight movement tweens. for iid: String in move_anims: var t: Tween = move_anims[iid] as Tween