From c7f8d95512cc308441b3f84e7d3820b7b10cc00e Mon Sep 17 00:00:00 2001 From: megamichi Date: Sat, 1 Mar 2025 21:11:57 +0100 Subject: [PATCH] fix a stupid thing --- stick/Knob.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stick/Knob.gd b/stick/Knob.gd index 68ace23..dfddd14 100644 --- a/stick/Knob.gd +++ b/stick/Knob.gd @@ -19,7 +19,7 @@ func _process(delta): var angle = parent.global_position.angle_to_point(get_global_mouse_position()) global_position.x = parent.global_position.x + cos(angle)*maxLength global_position.y = parent.global_position.y + sin(angle)*maxLength - calculateVector() + calculateVector() else: global_position = lerp(global_position, parent.global_position, delta*50) parent.posVector = Vector2(0,0)