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

when watching score from custom modes, show only the current custom mode

This commit is contained in:
Zeno Rogue
2024-06-02 18:30:57 +02:00
parent 078d16a4e4
commit c80b34140f
3 changed files with 9 additions and 2 deletions

View File

@@ -1427,7 +1427,7 @@ void mode_screen_for_current() {
dialog::addBreak(100);
dialog::addSelItem(XLAT("scores recorded"), its(qty_scores_for[mc]), 's');
dialog::add_action([] { scores::load(); });
dialog::add_action([mc] { scores::load(); scores::which_mode = mc; });
dialog::addSelItem(XLAT("Yendor Challenge"), its(yendor::compute_tscore(mc)), 'y');
dialog::add_action([] {