Fix softlock with title screen when opening submenus
This commit is contained in:
1 parent
7946938828
commit
1bae39d80e
5 files changed
+10
-6
No files matched your search
@@ -3,8 +3,8 @@ import AbstractOptionSelectUiHandler from "./abstact-option-select-ui-handler";
|
||||
import { Mode } from "./ui";
|
||||
|
||||
export default class OptionSelectUiHandler extends AbstractOptionSelectUiHandler {
|
||||
constructor(scene: BattleScene) {
|
||||
super(scene, Mode.OPTION_SELECT);
|
||||
constructor(scene: BattleScene, mode: Mode = Mode.OPTION_SELECT) {
|
||||
super(scene, mode);
|
||||
}
|
||||
|
||||
getWindowWidth(): integer {
|
||||
|
||||
Reference in new issue
Block a user