mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 00:39:53 +00:00
add debug option for player id in logs
This commit is contained in:
parent
88e3f3cb4f
commit
7e6269f8ef
@ -53,6 +53,7 @@ namespace QSB
|
||||
public static bool AvoidTimeSync => DebugMode && DebugSettings.AvoidTimeSync;
|
||||
public static bool SkipTitleScreen => DebugMode && DebugSettings.SkipTitleScreen;
|
||||
public static bool GreySkybox => DebugMode && DebugSettings.GreySkybox;
|
||||
public static bool PlayerIdInLogs => DebugMode && DebugSettings.PlayerIdInLogs;
|
||||
public static AssetBundle NetworkAssetBundle { get; internal set; }
|
||||
public static AssetBundle InstrumentAssetBundle { get; private set; }
|
||||
public static AssetBundle ConversationAssetBundle { get; private set; }
|
||||
|
@ -10,7 +10,7 @@ namespace QSB.Utility
|
||||
{
|
||||
public static void ToConsole(string message, MessageType type = MessageType.Message)
|
||||
{
|
||||
if (NetworkClient.localPlayer != null)
|
||||
if (NetworkClient.localPlayer != null && QSBCore.PlayerIdInLogs)
|
||||
{
|
||||
message = $"[{NetworkClient.localPlayer.netId}] " + message;
|
||||
}
|
||||
|
@ -24,5 +24,8 @@ namespace QSB.Utility
|
||||
|
||||
[JsonProperty("greySkybox")]
|
||||
public bool GreySkybox { get; set; }
|
||||
|
||||
[JsonProperty("playerIdInLogs")]
|
||||
public bool PlayerIdInLogs { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,10 @@
|
||||
{
|
||||
"debugMode": false,
|
||||
"debugMode": true,
|
||||
"drawLines": false,
|
||||
"showQuantumVisibilityObjects": false,
|
||||
"showDebugLabels": false,
|
||||
"avoidTimeSync": false,
|
||||
"skipTitleScreen": true,
|
||||
"greySkybox": true
|
||||
"greySkybox": false,
|
||||
"playerIdInLogs": false
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user