mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
I stg this just disappeared somehow
This commit is contained in:
1 parent
041c54303b
commit
95bc96f877
2 files changed
+4
-3
No files matched your search
@@ -6,10 +6,11 @@ public static class DebugModeManager
|
||||
{
|
||||
// これが有効の時、通常のゲームに支障のないデバッグ機能(詳細ログ・ゲーム外でのデバッグ表示など)が有効化される。
|
||||
// また、ゲーム内オプションでデバッグモードを有効化することができる。
|
||||
public static bool AmDebugger { get; private set; }
|
||||
public static bool AmDebugger { get; private set; } =
|
||||
#if DEBUG
|
||||
true;
|
||||
true;
|
||||
#else
|
||||
false;
|
||||
#endif
|
||||
// これが有効の時、通常のゲームを破壊する可能性のある強力なデバッグ機能(テレポートなど)が有効化される。
|
||||
public static bool IsDebugMode => AmDebugger && EnableDebugMode != null && EnableDebugMode.GetBool();
|
||||
|
||||
Reference in new issue
Block a user