Fix bug where when starting the game hp/exp bar and quick slot items wouldnt be rendered until after first move
This commit is contained in:
@@ -79,6 +79,9 @@ export default class GameUI extends Phaser.Scene {
|
||||
gameScene.events.on("restart-game", () => {
|
||||
this.death.hide();
|
||||
});
|
||||
|
||||
// Request initial state update
|
||||
gameScene.events.emit("request-ui-update");
|
||||
}
|
||||
|
||||
private emitMenuStates() {
|
||||
|
||||
Reference in New Issue
Block a user