Fix crash when playing Tween right after finishing

This commit is contained in:
kobewi 2022-09-16 14:20:12 +02:00
parent 55bed82b05
commit 1a462bc84e

View file

@ -315,6 +315,7 @@ bool Tween::step(float p_delta) {
running = false;
dead = true;
emit_signal(SNAME("finished"));
break;
} else {
emit_signal(SNAME("loop_finished"), loops_done);
current_step = 0;