Merge pull request #65896 from KoBeWi/breakt_the_crash
Fix crash when playing Tween right after finishing
This commit is contained in:
commit
27a33e7efa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user