1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2026-03-22 10:43:01 +00:00

better bot kick logic

This commit is contained in:
ineed bots
2023-12-13 12:39:40 -06:00
parent a838a56770
commit e664f60335
2 changed files with 93 additions and 1 deletions

View File

@@ -1151,7 +1151,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() );