Fix crash when playing Tween right after finishing
(cherry picked from commit 1a462bc84e
)
This commit is contained in:
parent
ce310c1e39
commit
1aee1b1720
|
@ -311,6 +311,7 @@ bool SceneTreeTween::step(float p_delta) {
|
|||
running = false;
|
||||
dead = true;
|
||||
emit_signal(SceneStringNames::get_singleton()->finished);
|
||||
break;
|
||||
} else {
|
||||
emit_signal(SceneStringNames::get_singleton()->loop_finished, loops_done);
|
||||
current_step = 0;
|
||||
|
|
Loading…
Reference in New Issue