default persistent= to false for network_ai controllers

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 fe9b02059b
This commit is contained in:
gfgtdf 2015-06-06 20:54:59 +02:00
parent 5058015109
commit 47025eee61

View file

@ -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);