Skip to content

Commit

Permalink
show DebugWrites before debugsettings have loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
misternebula committed Nov 13, 2023
1 parent 1aafd30 commit ddd740b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QSB/Utility/DebugLog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void ToConsole(string message, MessageType type = MessageType.Mess

public static void DebugWrite(string message, MessageType type = MessageType.Message)
{
if (QSBCore.DebugSettings.DebugMode)
if (QSBCore.Helper == null || QSBCore.DebugSettings.DebugMode)
{
ToConsole(message, type);
}
Expand Down

0 comments on commit ddd740b

Please sign in to comment.