shuffle sides based on the settings value
Before, it was based on the preference value. This was a problem when not using the mp_configure dialog (sp)
This commit is contained in:
parent
7b84f8fc38
commit
3884128746
1 changed files with 2 additions and 2 deletions
|
@ -396,9 +396,9 @@ void connect_engine::start_game(LOAD_USERS load_users)
|
|||
side->resolve_random();
|
||||
}
|
||||
|
||||
// Shuffle sides (check preferences and if it is a re-loaded game).
|
||||
// Shuffle sides (check settings and if it is a re-loaded game).
|
||||
// Must be done after resolve_random() or shuffle sides, or they won't work.
|
||||
if (preferences::shuffle_sides() && !(level_.child("snapshot") &&
|
||||
if (state_.mp_settings().shuffle_sides && !(level_.child("snapshot") &&
|
||||
level_.child("snapshot").child("side"))) {
|
||||
|
||||
// Only playable sides should be shuffled.
|
||||
|
|
Loading…
Add table
Reference in a new issue