mods: add more csdm cvars to check

This commit is contained in:
jeefo 2024-01-21 16:21:01 +03:00
commit ed75a662c9
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
2 changed files with 3 additions and 2 deletions

View file

@ -444,7 +444,7 @@ void BotManager::maintainQuota () {
auto maxSpawnCount = game.getSpawnCount (Team::Terrorist) + game.getSpawnCount (Team::CT) - humanPlayersInGame;
// if has some custom spawn points, max out spawn point counter
if (desiredBotCount > botsInGame && hasCustomCSDMSpawnEntities ()) {
if (desiredBotCount >= botsInGame && hasCustomCSDMSpawnEntities ()) {
maxSpawnCount = game.maxClients () + 1;
}