make AvoidTimeSync not depend on DebugMode

This commit is contained in:
JohnCorby 2022-03-11 02:42:57 -08:00
parent b67289a361
commit 079a36c0b0
2 changed files with 5 additions and 6 deletions

View File

@ -17,6 +17,9 @@ public class DebugSettings
[JsonProperty("hookDebugLogs")]
public bool HookDebugLogs;
[JsonProperty("avoidTimeSync")]
public bool AvoidTimeSync;
[JsonProperty("debugMode")]
public bool DebugMode;
@ -36,10 +39,6 @@ public class DebugSettings
private bool _drawQuantumVisibilityObjects;
public bool DrawQuantumVisibilityObjects => DebugMode && _drawQuantumVisibilityObjects;
[JsonProperty("avoidTimeSync")]
private bool _avoidTimeSync;
public bool AvoidTimeSync => DebugMode && _avoidTimeSync;
[JsonProperty("skipTitleScreen")]
private bool _skipTitleScreen;
public bool SkipTitleScreen => DebugMode && _skipTitleScreen;
@ -47,4 +46,4 @@ public class DebugSettings
[JsonProperty("greySkybox")]
private bool _greySkybox;
public bool GreySkybox => DebugMode && _greySkybox;
}
}

View File

@ -3,12 +3,12 @@
"dumpWorldObjects": false,
"playerIdInLogs": false,
"hookDebugLogs": false,
"avoidTimeSync": false,
"debugMode": false,
"drawGui": false,
"drawLines": false,
"drawLabels": false,
"drawQuantumVisibilityObjects": false,
"avoidTimeSync": false,
"skipTitleScreen": false,
"greySkybox": false
}