Fixed dissalow_observers only default to true if controller=null

This commit is contained in:
Pauli Nieminen 2008-05-09 18:40:56 +00:00
parent 6be0e05732
commit b42cc2fd5c

View file

@ -177,7 +177,7 @@ team::team_info::team_info(const config& cfg) :
controller = NETWORK;
else if (control == "null")
{
disallow_observers = true;
disallow_observers = utils::string_bool(cfg["disallow_observers"],true);
controller = EMPTY;
}
else