New non-conflicting Loading system in place. Creating tests.

This commit is contained in:
photonstorm
2013-11-26 21:10:01 +00:00
parent 2fc5c89c1e
commit 4926fac578
6 changed files with 113 additions and 19 deletions
+1 -1
View File
@@ -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();
}