From bf4739f238d53216406511924e410f8f5f66f971 Mon Sep 17 00:00:00 2001 From: mehbark Date: Mon, 5 May 2025 17:31:05 -0400 Subject: [PATCH] less confusing undo animation --- piece.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/piece.gd b/piece.gd index 22418ab..d79d5d4 100644 --- a/piece.gd +++ b/piece.gd @@ -94,6 +94,9 @@ func do_move(move: Vector2i) -> Callable: func undo_move() -> Callable: var old_pos := lpos return func(): + for tween in tweens: + tween.kill() + position = target_pos() lpos = old_pos tween_to_target()