mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
More reasonable time limits
This commit is contained in:
1 parent
f0aecf009e
commit
f47ad14593
6 files changed
+60
-39
No files matched your search
@@ -1,5 +1,3 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace EHR;
|
||||
|
||||
public static class DebugModeManager
|
||||
@@ -11,18 +9,9 @@ public static class DebugModeManager
|
||||
#else
|
||||
false;
|
||||
#endif
|
||||
public static bool IsDebugMode => AmDebugger && EnableDebugMode != null && EnableDebugMode.GetBool();
|
||||
|
||||
public static void Auth(HashAuth auth, string input)
|
||||
{
|
||||
AmDebugger |= auth.CheckString(input);
|
||||
}
|
||||
|
||||
public static void SetupCustomOption()
|
||||
{
|
||||
EnableDebugMode = new BooleanOptionItem(2, "EnableDebugMode", false, TabGroup.SystemSettings, true)
|
||||
.SetHeader(true)
|
||||
.SetColor(Color.green)
|
||||
.SetHidden(!AmDebugger);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user