Resolve issue with generating too few bots

This commit is contained in:
Chomp
2025-02-17 14:28:47 +00:00
parent 924fff686d
commit 167e55c126
+1 -1
View File
@@ -196,7 +196,7 @@ public class BotController(
pmcProfile,
allPmcsHaveSameNameAsPlayer,
raidSettings,
_botConfig.PresetBatch!.GetValueOrDefault(condition.Role, condition.Limit),
Math.Max(_botConfig.PresetBatch!.GetValueOrDefault(condition.Role, 1), condition.Limit), // Get largest between value passed in from request vs whats in bot.config
_botHelper.IsBotPmc(condition.Role));
// Generate bots for the current condition