Fixed smart kick counting.

This commit is contained in:
jeefo 2016-10-31 19:27:58 +03:00
commit 76248cac6a

View file

@ -472,7 +472,7 @@ void BotManager::MaintainBotQuota (void)
} }
int numBots = GetBotsNum (); int numBots = GetBotsNum ();
int numHumans = yb_autovacate_smart_kick.GetBool () ? GetHumansNum () : GetHumansJoinedTeam (); int numHumans = yb_autovacate_smart_kick.GetBool () ? GetHumansJoinedTeam () : GetHumansNum ();
int desiredCount = yb_quota.GetInt (); int desiredCount = yb_quota.GetInt ();
if (yb_join_after_player.GetBool () && !numHumans) if (yb_join_after_player.GetBool () && !numHumans)