Change to boot order to try and resolve short-TTL timers.

This commit is contained in:
photonstorm
2014-02-06 22:42:35 +00:00
parent 7ba1196c0d
commit 4b7fc8d506
3 changed files with 69 additions and 157 deletions
+1 -1
View File
@@ -457,7 +457,6 @@ Phaser.Game.prototype = {
this.world.boot();
this.input.boot();
this.sound.boot();
this.state.boot();
this.load.onLoadComplete.add(this.loadComplete, this);
@@ -469,6 +468,7 @@ Phaser.Game.prototype = {
this.raf = new Phaser.RequestAnimationFrame(this);
this.raf.start();
this.state.boot();
}
},