This commit is contained in:
Gurge44 committed 2024-06-11 15:42:38 +02:00
1 parent 42ff5c7c5a
commit 8715b09750
10 files changed
+23 -20

No files matched your search

+3 -3
View File
@@ -4,18 +4,18 @@ namespace EHR;
public static class DebugModeManager
{
public static OptionItem EnableDebugMode;
public static bool AmDebugger { get; private set; } =
#if DEBUG
true;
#else
false;
false;
#endif
public static bool IsDebugMode => AmDebugger && EnableDebugMode != null && EnableDebugMode.GetBool();
public static OptionItem EnableDebugMode;
public static void Auth(HashAuth auth, string input)
{
AmDebugger = AmDebugger || auth.CheckString(input);
AmDebugger |= auth.CheckString(input);
}
public static void SetupCustomOption()