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

@ -72,8 +72,8 @@ export class ReportMenu extends Phaser.GameObjects.DOMElement {
}
public close(): void {
gameManager.getCurrentGameScene(this.scene).userInputManager.restoreControls();
this.opened = false;
gameManager.getCurrentGameScene(this.scene).userInputManager.initKeyBoardEvent();
const mainEl = this.getChildByID('gameReport') as HTMLElement;
this.scene.tweens.add({
targets: this,