Fixed issue with PMC level calculations coming back as 1

This commit is contained in:
Chomp
2025-01-28 12:11:15 +00:00
parent 1532826dba
commit cfde0bd528
2 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -405,7 +405,7 @@ public class BotController(
IsPmc = generateAsPmc,
Side = generateAsPmc ? _botHelper.GetPmcSideByRole(condition.Role ?? string.Empty) : "Savage",
Role = condition.Role,
PlayerLevel = pmcProfile?.Info?.Level ?? 0,
PlayerLevel = pmcProfile?.Info?.Level,
PlayerName = pmcProfile?.Info?.Nickname,
BotRelativeLevelDeltaMax = _pmcConfig.BotRelativeLevelDeltaMax,
BotRelativeLevelDeltaMin = _pmcConfig.BotRelativeLevelDeltaMin,