better bot kick logic

This commit is contained in:
ineed bots
2023-12-13 12:43:34 -06:00
parent 7458491ac1
commit 532eb70a47
2 changed files with 33 additions and 1 deletions

View File

@@ -483,7 +483,7 @@ addBots_loop()
setDvar( "bots_manage_add", 1 );
else if ( amount > fillAmount && getDvarInt( "bots_manage_fill_kick" ) )
{
tempBot = PickRandom( getBotArray() );
tempBot = getBotToKick();
if ( isDefined( tempBot ) )
BotBuiltinCmdExec( "clientkick " + tempBot getEntityNumber() );