mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
The SceneManager.processQueue
method will no longer return
if a new Scene was added, after starting it. This allows any other queued operations to still be run in the same frame, rather than being delayed until the next game frame. Fix #5359
This commit is contained in:
parent
6d0fd99a13
commit
b5312b86fa
1 changed files with 0 additions and 2 deletions
|
@ -301,8 +301,6 @@ var SceneManager = new Class({
|
||||||
// Clear the pending lists
|
// Clear the pending lists
|
||||||
this._start.length = 0;
|
this._start.length = 0;
|
||||||
this._pending.length = 0;
|
this._pending.length = 0;
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < this._queue.length; i++)
|
for (i = 0; i < this._queue.length; i++)
|
||||||
|
|
Loading…
Reference in a new issue