mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-22 03:40:54 +00:00
debug swap macro only on debug build
This commit is contained in:
parent
f57b0117a8
commit
c2703f3014
@ -176,6 +176,7 @@ public class QSBCore : ModBehaviour
|
|||||||
|
|
||||||
public override void Configure(IModConfig config) => DefaultServerIP = config.GetSettingsValue<string>("defaultServerIP");
|
public override void Configure(IModConfig config) => DefaultServerIP = config.GetSettingsValue<string>("defaultServerIP");
|
||||||
|
|
||||||
|
#if DEBUG
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
if (Keyboard.current[Key.Q].isPressed && Keyboard.current[Key.D].wasPressedThisFrame)
|
if (Keyboard.current[Key.Q].isPressed && Keyboard.current[Key.D].wasPressedThisFrame)
|
||||||
@ -190,6 +191,7 @@ public class QSBCore : ModBehaviour
|
|||||||
DebugLog.ToConsole($"DEBUG MODE = {DebugSettings.DebugMode}");
|
DebugLog.ToConsole($"DEBUG MODE = {DebugSettings.DebugMode}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user