0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 16:50:43 -05:00

Change log to info (#13)

This is logging with `LogError()` when it's not an error, giving me a
heart attach on every raid start.
This commit is contained in:
DrakiaXYZ 2024-12-20 12:00:09 -08:00 committed by GitHub
commit 1afb96b822
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ namespace SPT.SinglePlayer.Patches.RaidFix
if (int.TryParse(RequestHandler.GetJson($"/singleplayer/settings/bot/maxCap/{location}"), out var parsedMaxCount)) if (int.TryParse(RequestHandler.GetJson($"/singleplayer/settings/bot/maxCap/{location}"), out var parsedMaxCount))
{ {
Logger.LogError($"Set max bot cap for: {location} from: {maxCount} to: {parsedMaxCount}"); Logger.LogInfo($"Set max bot cap for: {location} from: {maxCount} to: {parsedMaxCount}");
maxCount = parsedMaxCount; maxCount = parsedMaxCount;
} }
else else