Skip to content

Commit

Permalink
Fix "Play Now" options bringing up the world generation prompt (#64659)
Browse files Browse the repository at this point in the history
  • Loading branch information
strategineer authored Mar 31, 2023
1 parent e3579e5 commit fc74bce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,8 @@ bool main_menu::new_character_tab()
// First load the mods, this is done by
// loading the world.
// Pick a world, suppressing prompts if it's "play now" mode.
WORLD *world = world_generator->pick_world( true, sel2 == 3 || sel2 == 4 );
const bool is_play_now = sel2 == 3 || sel2 == 4;
WORLD *world = world_generator->pick_world( !is_play_now, is_play_now );
if( world == nullptr ) {
return false;
}
Expand Down

0 comments on commit fc74bce

Please sign in to comment.