debug swap macro only on debug build

This commit is contained in:
Mister_Nebula 2022-05-10 10:09:37 +01:00
parent f57b0117a8
commit c2703f3014

View File

@ -176,6 +176,7 @@ public class QSBCore : ModBehaviour
public override void Configure(IModConfig config) => DefaultServerIP = config.GetSettingsValue<string>("defaultServerIP");
#if DEBUG
private void Update()
{
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}");
}
}
#endif
}
/*