diff --git a/scripts/tekton.gd b/scripts/tekton.gd index 1c83ac9..a7e2082 100644 --- a/scripts/tekton.gd +++ b/scripts/tekton.gd @@ -105,10 +105,11 @@ func set_carried(state: bool, p_carrier: Node3D = null): var controller = get_node_or_null("TektonController") if controller: controller.set_physics_process(not state) - if state: - controller.get_node("Timer").stop() - else: - controller.call("_start_timer") + if controller.get("timer"): + if state: + controller.timer.stop() + else: + controller.call("_start_timer") if not state: update_visual_position()