From 9b22f708a5975c03c169a18498315f6c0f52e372 Mon Sep 17 00:00:00 2001 From: tekki mariani Date: Sun, 22 Mar 2026 06:55:11 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20nisse=20info=20panel=20no?= =?UTF-8?q?=20longer=20pauses=20the=20game?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/scenes/UIScene.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/scenes/UIScene.ts b/src/scenes/UIScene.ts index cabc6f3..050ae16 100644 --- a/src/scenes/UIScene.ts +++ b/src/scenes/UIScene.ts @@ -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') } /** -- 2.49.1