From 76248cac6a16d448f06bde33b5cf069734b2c6f5 Mon Sep 17 00:00:00 2001 From: jeefo Date: Mon, 31 Oct 2016 19:27:58 +0300 Subject: [PATCH] Fixed smart kick counting. --- source/manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/manager.cpp b/source/manager.cpp index 5a6ee02..5eebcb5 100644 --- a/source/manager.cpp +++ b/source/manager.cpp @@ -472,7 +472,7 @@ void BotManager::MaintainBotQuota (void) } 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 (); if (yb_join_after_player.GetBool () && !numHumans)