Skip to content

Commit

Permalink
Fix Wesnoth prompting for MP server even in local games
Browse files Browse the repository at this point in the history
Regression from commit 9019074.
  • Loading branch information
jyrkive authored and GregoryLundberg committed Nov 30, 2017
1 parent f70b264 commit 9e094b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_launcher.cpp
Expand Up @@ -829,7 +829,7 @@ bool game_launcher::play_multiplayer(mp_selection res)
}

// If a server address wasn't specified, prompt for it now.
if(multiplayer_server_.empty()) {
if(res != MP_LOCAL && multiplayer_server_.empty()) {
if(!gui2::dialogs::mp_connect::execute(CVideo::get_singleton())) {
return false;
}
Expand Down

0 comments on commit 9e094b7

Please sign in to comment.