mirror of
https://github.com/wassname/phaser.git
synced 2026-07-18 12:30:44 +08:00
Change to boot order to try and resolve short-TTL timers.
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user