better bot kicking logic

This commit is contained in:
ineed bots
2023-12-13 12:21:32 -06:00
parent efa67b1421
commit f910ae6054
2 changed files with 93 additions and 1 deletions

View File

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