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:
parent
40e41e2254
commit
6c04c824bd
1 changed files with 1 additions and 0 deletions
|
@ -827,6 +827,7 @@ bool Tween::start() {
|
||||||
// Are there any pending updates?
|
// Are there any pending updates?
|
||||||
if (pending_update != 0) {
|
if (pending_update != 0) {
|
||||||
// Start the tweens after deferring
|
// Start the tweens after deferring
|
||||||
|
call_deferred("start");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue