Minor changes to menu controls

This commit is contained in:
Flashfyre 2023-11-12 00:34:36 -05:00
parent cbbb8e972b
commit 729b70c6a6
2 changed files with 2 additions and 5 deletions

View File

@ -904,7 +904,9 @@ export default class BattleScene extends Phaser.Scene {
case Mode.GAME_MODE_SELECT:
this.ui.setOverlayMode(Mode.MENU);
break;
case Mode.MENU:
case Mode.SETTINGS:
case Mode.ACHIEVEMENTS:
this.ui.revertMode();
this.playSound('select');
break;

View File

@ -53,11 +53,6 @@ const noTransitionModes = [
Mode.SETTINGS
];
const menuModes = [
Mode.MENU,
Mode.SETTINGS
];
export default class UI extends Phaser.GameObjects.Container {
private mode: Mode;
private modeChain: Mode[];