diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-01-22 22:27:37 +0100 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-01-22 22:27:37 +0100 |
commit | 6c04c824bdb82a33589d48d98ab569a0a2e7e5fd (patch) | |
tree | 2284445fa2daabfd178e1954f03461cfeadea885 | |
parent | 40e41e22540c9b88b5afa1d9eb586bc8ae392d58 (diff) |
Fixed Tween::start() with pending updates
Start was canceled instead of deferred in case of an update in progress.
Fixes #35441
-rw-r--r-- | scene/animation/tween.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp index 58212335c2..331a6c769c 100644 --- a/scene/animation/tween.cpp +++ b/scene/animation/tween.cpp @@ -827,6 +827,7 @@ bool Tween::start() { // Are there any pending updates? if (pending_update != 0) { // Start the tweens after deferring + call_deferred("start"); return true; } |