🐛 fix nisse info panel no longer pauses the game

Removes uiMenuOpen/uiMenuClose calls from openNisseInfoPanel() and
closeNisseInfoPanel() — the info panel is an observational overlay and
should not interrupt the game loop. Closes #15.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-22 06:55:11 +00:00
parent 18c8ccb644
commit 9b22f708a5

View File

@@ -692,7 +692,6 @@ export class UIScene extends Phaser.Scene {
private openNisseInfoPanel(villagerId: string): void {
this.nisseInfoId = villagerId
this.nisseInfoVisible = true
this.scene.get('Game').events.emit('uiMenuOpen')
this.buildNisseInfoPanel()
}
@@ -703,7 +702,6 @@ export class UIScene extends Phaser.Scene {
this.nisseInfoId = null
this.nisseInfoGroup.destroy(true)
this.nisseInfoGroup = this.add.group()
this.scene.get('Game').events.emit('uiMenuClose')
}
/**