diff --git a/Modules/Debugger.cs b/Modules/Debugger.cs index 0179a18..abeb059 100644 --- a/Modules/Debugger.cs +++ b/Modules/Debugger.cs @@ -26,6 +26,12 @@ class Logger public static void LogPrivate(string info, string tag = "Log") { + if (GameStates.IsDev) + { + Log(info, tag); + return; + } + string mark = $"{DateTime.Now:HH:mm} [BetterLog][PrivateLog][{tag}]"; string logFilePath = Path.Combine(Environment.CurrentDirectory, "better-log.txt"); string newLine = $"{mark}: " + Encryptor.Encrypt($"{info}");