fix showing mp_connect between sp scenarios.
commit4747c19acf
accidently reverted parts of3154b07605
This commit is contained in:
parent
321166b869
commit
441343aa3d
1 changed files with 2 additions and 1 deletions
|
@ -383,7 +383,8 @@ LEVEL_RESULT play_game(game_display& disp, saved_game& gamestate,
|
|||
connect_engine(new ng::connect_engine(gamestate,
|
||||
!network_game, false));
|
||||
|
||||
if (starting_pos["allow_new_game"].to_bool(true) || (game_config::debug && network::nconnections() == 0)) {
|
||||
if (starting_pos["allow_new_game"].to_bool(gamestate.mp_settings().show_connect)
|
||||
|| (game_config::debug && network::nconnections() == 0)) {
|
||||
// Opens mp::connect dialog to allow users to
|
||||
// make an adjustments for scenario.
|
||||
// TODO: Fix this so that it works when network::nconnections() > 0 as well.
|
||||
|
|
Loading…
Add table
Reference in a new issue