Merge pull request #2 from YGGverse/bot10-allow-min_bots-0

allow min_bots=0
This commit is contained in:
d47081 2024-01-11 18:28:26 +02:00 committed by GitHub
commit bbffb97736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ BOOL ClientConnect( edict_t *pEntity, const char *pszName, const char *pszAddres
// if there are currently more than the minimum number of bots running
// then kick one of the bots off the server...
if( ( min_bots != 0 ) && ( count > min_bots ) )
if( count > min_bots )
{
for( i = 0; i < 32; i++ )
{