ported to Android CS 1.6

fixed console spam with yb_quota when no waypoints on map
fixed autovacate feature once again
This commit is contained in:
jeefo 2015-12-26 01:31:46 +03:00
commit 579971c5ff
6 changed files with 57 additions and 39 deletions

View file

@ -341,6 +341,9 @@ void BotManager::MaintainBotQuota (void)
// this function keeps number of bots up to date, and don't allow to maintain bot creation
// while creation process in process.
if (g_numWaypoints < 1 || g_waypointsChanged)
return;
if (yb_join_after_player.GetInt () > 0 && GetHumansJoinedTeam () == 0)
{
RemoveAll (false);