mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-11-09 14:06:52 +00:00
better bot kicking logic
This commit is contained in:
@@ -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" );
|
||||
|
||||
Reference in New Issue
Block a user