mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-01 13:12:19 +02:00
Moving the "Run History" option to title phase
This commit is contained in:
parent
ee6115f49d
commit
3a8847c9f9
@ -150,6 +150,14 @@ export class TitlePhase extends Phase {
|
|||||||
},
|
},
|
||||||
keepOpen: true
|
keepOpen: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: i18next.t("menu:runHistory"),
|
||||||
|
handler: () => {
|
||||||
|
globalScene.ui.setOverlayMode(Mode.RUN_HISTORY);
|
||||||
|
return true;
|
||||||
|
},
|
||||||
|
keepOpen: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: i18next.t("menu:settings"),
|
label: i18next.t("menu:settings"),
|
||||||
handler: () => {
|
handler: () => {
|
||||||
|
@ -21,7 +21,6 @@ enum MenuOptions {
|
|||||||
GAME_SETTINGS,
|
GAME_SETTINGS,
|
||||||
ACHIEVEMENTS,
|
ACHIEVEMENTS,
|
||||||
STATS,
|
STATS,
|
||||||
RUN_HISTORY,
|
|
||||||
EGG_LIST,
|
EGG_LIST,
|
||||||
EGG_GACHA,
|
EGG_GACHA,
|
||||||
MANAGE_DATA,
|
MANAGE_DATA,
|
||||||
@ -508,10 +507,6 @@ export default class MenuUiHandler extends MessageUiHandler {
|
|||||||
ui.setOverlayMode(Mode.GAME_STATS);
|
ui.setOverlayMode(Mode.GAME_STATS);
|
||||||
success = true;
|
success = true;
|
||||||
break;
|
break;
|
||||||
case MenuOptions.RUN_HISTORY:
|
|
||||||
ui.setOverlayMode(Mode.RUN_HISTORY);
|
|
||||||
success = true;
|
|
||||||
break;
|
|
||||||
case MenuOptions.EGG_LIST:
|
case MenuOptions.EGG_LIST:
|
||||||
if (globalScene.gameData.eggs.length) {
|
if (globalScene.gameData.eggs.length) {
|
||||||
ui.revertMode();
|
ui.revertMode();
|
||||||
|
Loading…
Reference in New Issue
Block a user