Fixed Tween::start() with pending updates

Start was canceled instead of deferred in case of an update in progress.
Fixes #35441
This commit is contained in:
PouleyKetchoupp 2020-01-22 22:27:37 +01:00
parent 40e41e2254
commit 6c04c824bd
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}