HotFix style WorkAdventure

This commit is contained in:
Gregoire Parant 2021-04-12 18:17:04 +02:00
parent 5ad7787cd5
commit 4fc9a12b95
4 changed files with 28 additions and 21 deletions

View file

@ -104,7 +104,11 @@ export class MenuScene extends Phaser.Scene {
}
public revealMenuIcon(): void {
(this.menuButton.getChildByID('menuIcon') as HTMLElement).hidden = false
try {
(this.menuButton.getChildByID('menuIcon') as HTMLElement).hidden = false;
} catch (err) {
console.error(err);
}
}
openSideMenu() {