From 4bfbf15b3093b0fcbd21685adeead62897e98b01 Mon Sep 17 00:00:00 2001 From: Sandwichs-del <67276741+Sandwichs-del@users.noreply.github.com> Date: Wed, 1 Jul 2020 14:14:04 +0000 Subject: [PATCH 1/2] Close shop also by Q --- src/js/game/hud/parts/shop.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/game/hud/parts/shop.js b/src/js/game/hud/parts/shop.js index f0f16cfe..f884993b 100644 --- a/src/js/game/hud/parts/shop.js +++ b/src/js/game/hud/parts/shop.js @@ -197,6 +197,7 @@ export class HUDShop extends BaseHUDPart { this.keyActionMapper = new KeyActionMapper(this.root, this.inputReciever); this.keyActionMapper.getBinding(KEYMAPPINGS.general.back).add(this.close, this); + this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.keybindingsOverlay.pipette).add(this.close, this); this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.menuOpenShop).add(this.close, this); this.close(); From bec511d9f735f1c4e4ae32aba3d63e18a87052ab Mon Sep 17 00:00:00 2001 From: Sandwichs-del <67276741+Sandwichs-del@users.noreply.github.com> Date: Wed, 1 Jul 2020 14:16:00 +0000 Subject: [PATCH 2/2] Close stats also by Q --- src/js/game/hud/parts/statistics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/game/hud/parts/statistics.js b/src/js/game/hud/parts/statistics.js index 4a3b75f5..b608b3d8 100644 --- a/src/js/game/hud/parts/statistics.js +++ b/src/js/game/hud/parts/statistics.js @@ -81,6 +81,7 @@ export class HUDStatistics extends BaseHUDPart { this.keyActionMapper = new KeyActionMapper(this.root, this.inputReciever); this.keyActionMapper.getBinding(KEYMAPPINGS.general.back).add(this.close, this); + this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.keybindingsOverlay.pipette).add(this.close, this); this.keyActionMapper.getBinding(KEYMAPPINGS.ingame.menuOpenStats).add(this.close, this); /** @type {Object.} */