Skip to content

Commit

Permalink
Add force_lock_settings default to missed case
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 20, 2016
1 parent 6e37603 commit 2682b67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game_initialization/multiplayer_wait.cpp
Expand Up @@ -335,8 +335,9 @@ void wait::join_game(bool observe)
era_factions.push_back(&side);
}

const bool is_mp = state_.classification().is_normal_mp_game();
const bool lock_settings =
get_scenario()["force_lock_settings"].to_bool();
get_scenario()["force_lock_settings"].to_bool(!is_mp);
const bool use_map_settings =
level_.child("multiplayer")["mp_use_map_settings"].to_bool();
const bool saved_game =
Expand Down

0 comments on commit 2682b67

Please sign in to comment.