mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 17:27:57 +00:00
load scores before showing custom modes
This commit is contained in:
@@ -816,7 +816,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_push(show_custom);
|
||||
dialog::add_action([] { scores::load_only(); pushScreen(show_custom); });
|
||||
|
||||
dialog::addBack();
|
||||
dialog::display();
|
||||
@@ -1262,7 +1262,9 @@ int read_menu_args() {
|
||||
PHASEFROM(2); launch_dialog(showChangeMode);
|
||||
}
|
||||
else if(argis("-d:custom")) {
|
||||
PHASEFROM(2); launch_dialog(show_custom);
|
||||
PHASEFROM(3);
|
||||
scores::load_only();
|
||||
launch_dialog(show_custom);
|
||||
}
|
||||
else if(argis("-d:history")) {
|
||||
PHASEFROM(2); launch_dialog(history::history_menu);
|
||||
|
Reference in New Issue
Block a user