Skip to content

Commit

Permalink
default persistent= to false for network_ai controllers
Browse files Browse the repository at this point in the history
Previously the default value for persistent= in [side] was different for AI and NETWORK_AI controller. This caused OOS (this could for example be observed in LoW scenario 4). 
Backports fe9b020
  • Loading branch information
gfgtdf committed Jun 6, 2015
1 parent 5058015 commit 47025ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/team.cpp
Expand Up @@ -225,7 +225,10 @@ void team::team_info::read(const config &cfg)
else if (control == "network")
controller = NETWORK;
else if (control == "network_ai")
{
persistent = false;
controller = NETWORK_AI;
}
else if (control == "null")
{
disallow_observers = cfg["disallow_observers"].to_bool(true);
Expand Down

0 comments on commit 47025ee

Please sign in to comment.