Fix a small logic reversal in last commit...
This commit is contained in:
parent
4a560309ed
commit
7660d618b1
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ void create::process_event()
|
|||
int nsides = parameters_.scenario_data.get_children("side").size();
|
||||
const config::child_list& player_sides = parameters_.scenario_data.get_children("side");
|
||||
for(config::child_list::const_iterator k = player_sides.begin(); k != player_sides.end(); ++k) {
|
||||
if(utils::string_bool((**k)["allow_player"],true)) {
|
||||
if(!utils::string_bool((**k)["allow_player"],true)) {
|
||||
nsides--;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue