1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

sorting custom modes

This commit is contained in:
Zeno Rogue
2024-06-06 13:13:17 +02:00
parent 05309e3272
commit 94c02b5082
2 changed files with 61 additions and 20 deletions

View File

@@ -818,8 +818,7 @@ EX void showChangeMode() {
dialog::addItem(XLAT("highlights & achievements"), 'h');
dialog::add_action_push(mode_higlights);
dialog::addItem(XLAT("custom mode manager"), 'm');
dialog::add_action([] { scores::load_only(); pushScreen(show_custom); });
dialog::add_action(prepare_custom);
dialog::addBack();
dialog::display();
}
@@ -1265,8 +1264,7 @@ int read_menu_args() {
}
else if(argis("-d:custom")) {
PHASEFROM(3);
scores::load_only();
launch_dialog(show_custom);
prepare_custom();
}
else if(argis("-d:history")) {
PHASEFROM(2); launch_dialog(history::history_menu);