mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 03:26:51 +00:00
Add force_lock_settings default to missed case
This commit is contained in:
parent
6e37603538
commit
2682b679cb
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user