summaryrefslogtreecommitdiffstats
path: root/scene/animation/tween.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-01-22 22:56:40 +0100
committerGitHub <noreply@github.com>2020-01-22 22:56:40 +0100
commit94d3bcbc9b523a8aae4cc0dd1f1e522c2171900e (patch)
tree94cf41f2a2cbc29aa88c285d481c25e556156f7a /scene/animation/tween.cpp
parenta8460bffd2ab4e2a28e7c0582f5a5785a301bc26 (diff)
parent6c04c824bdb82a33589d48d98ab569a0a2e7e5fd (diff)
downloadredot-engine-94d3bcbc9b523a8aae4cc0dd1f1e522c2171900e.tar.gz
Merge pull request #35452 from nekomatata/tween-start-fail
Fixed Tween::start() with pending updates
Diffstat (limited to 'scene/animation/tween.cpp')
-rw-r--r--scene/animation/tween.cpp1
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;
}