better bot kicking logic

This commit is contained in:
ineed bots
2023-12-13 12:31:54 -06:00
parent 6075cee7e4
commit 58c8498991
2 changed files with 93 additions and 1 deletions

View File

@@ -816,7 +816,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 ) )
kick( tempBot getEntityNumber() );