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:
Peter Stockings
2026-01-06 21:04:40 +11:00
parent 9b1fc78409
commit 7ae1fa6671

View File

@@ -79,6 +79,9 @@ export default class GameUI extends Phaser.Scene {
gameScene.events.on("restart-game", () => { gameScene.events.on("restart-game", () => {
this.death.hide(); this.death.hide();
}); });
// Request initial state update
gameScene.events.emit("request-ui-update");
} }
private emitMenuStates() { private emitMenuStates() {