kill invalid tweens before they run

This commit is contained in:
mehbark 2025-05-29 17:13:15 -04:00
parent b006648774
commit 7e712e5468

View file

@ -94,7 +94,7 @@ func do_step():
if pieces_moving.is_empty():
# no tweens -> invalid -> annoying error message
tween.stop()
tween.kill()
func undo_step() -> Callable:
var undos: Array[Callable] = []