better bot kicking logic

This commit is contained in:
ineed bots
2023-12-13 12:28:03 -06:00
parent 6ab1deb98d
commit 0734762e24
3 changed files with 94 additions and 1 deletions

View File

@@ -908,7 +908,7 @@ addBots_loop()
setCvar( "bots_manage_add", 1 );
else if ( amount > fillAmount && getCvarInt( "bots_manage_fill_kick" ) )
{
tempBot = random( getBotArray() );
tempBot = getBotToKick();
if ( isDefined( tempBot ) )
kick( tempBot getEntityNumber() );