Skip to content

Commit 623df29

Browse files
committed
The Scene Manager would never reach an isBooted state if you didn't add any Scenes into the Game Config. Fix phaserjs#3553
1 parent 865edc0 commit 623df29

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
* MatterEvents.off() would cause a TypeError if you destroyed the Matter world. Fix #3562 (thanks @pixelscripter)
88
* DynamicBitmapText was missing the `letterSpacing` property, causing it to only render the first character in WebGL (thanks @Antriel)
9+
* The Animation component didn't properly check for the animation state in its update, causing pause / resume to fail. Fix #3556 (thanks @Antriel @siolfyr)
10+
* The Scene Manager would never reach an `isBooted` state if you didn't add any Scenes into the Game Config. Fix #3553 (thanks @rgk)
911

1012
### Examples, Documentation and TypeScript
1113

src/scene/SceneManager.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,9 @@ var SceneManager = new Class({
139139
data: {}
140140
});
141141
}
142-
143-
// Only need to wait for the boot event if we've scenes to actually boot
144-
game.events.once('ready', this.bootQueue, this);
145142
}
143+
144+
game.events.once('ready', this.bootQueue, this);
146145
},
147146

148147
/**

0 commit comments

Comments
 (0)