This commit is contained in:
Gregoire Parant 2021-04-12 18:26:36 +02:00
parent 4fc9a12b95
commit 6a08ca656f

View File

@ -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) {