mirror of
https://github.com/wassname/phaser.git
synced 2026-09-12 12:40:47 +08:00
New non-conflicting Loading system in place. Creating tests.
This commit is contained in:
@@ -250,7 +250,7 @@ Phaser.StateManager.prototype = {
|
||||
this.onPreloadCallback.call(this.callbackContext, this.game);
|
||||
|
||||
// Is the loader empty?
|
||||
if (this.game.load.queueSize === 0)
|
||||
if (this.game.load.totalQueuedFiles() === 0)
|
||||
{
|
||||
this.game.loadComplete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user