Skip to content

Commit ca3ae1f

Browse files
Animation: Make sure Shake_X ends at starting position (#2670)
1 parent 9146ea4 commit ca3ae1f

File tree

1 file changed

+1
-1
lines changed
  • addons/dialogic/Modules/Character/DefaultAnimations

1 file changed

+1
-1
lines changed

addons/dialogic/Modules/Character/DefaultAnimations/shake_x.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ func animate() -> void:
1111
tween.tween_method(bound_multitween, Vector2(), Vector2(-1,0)*strength, time*0.1)
1212
tween.tween_method(bound_multitween, Vector2(), Vector2(1, 0)*strength, time*0.1)
1313
tween.tween_method(bound_multitween, Vector2(), Vector2(-1,0)*strength, time*0.1)
14-
tween.tween_method(bound_multitween, Vector2(), Vector2(1, 0)*strength, time*0.2)
14+
tween.tween_method(bound_multitween, Vector2(), Vector2(0, 0)*strength, time*0.2)
1515
tween.finished.connect(emit_signal.bind('finished_once'))
1616

1717
func _get_named_variations() -> Dictionary:

0 commit comments

Comments
 (0)