diff --git a/front/src/Phaser/Menu/MenuScene.ts b/front/src/Phaser/Menu/MenuScene.ts index 8899c62f..6d09f247 100644 --- a/front/src/Phaser/Menu/MenuScene.ts +++ b/front/src/Phaser/Menu/MenuScene.ts @@ -104,6 +104,7 @@ export class MenuScene extends Phaser.Scene { } public revealMenuIcon(): void { + //TODO fix me: add try catch because at the same time, 'this.menuButton' variable doesn't exist and there is error on 'getChildByID' function try { (this.menuButton.getChildByID('menuIcon') as HTMLElement).hidden = false; } catch (err) {