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:
commit
1afb96b822
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user