Skip to content

Commit

Permalink
fixed a compile error in some compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorogue committed Jun 7, 2024
1 parent b74b774 commit bb14c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yendor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ void mode_screen_for_current() {
dialog::addBreak(100);

dialog::addSelItem(XLAT("scores recorded"), its(qty_scores_for[mc]), 's');
dialog::add_action([mc] { scores::load(); scores::which_mode = mc; });
dialog::add_action([] { scores::load(); scores::which_mode = current_modecode; });

dialog::addSelItem(XLAT("Yendor Challenge"), its(yendor::compute_tscore(mc)), 'y');
dialog::add_action([] {
Expand Down

0 comments on commit bb14c55

Please sign in to comment.