Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LeZi9916 committed Feb 7, 2025
1 parent 60e8b26 commit 2458c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Utils/MajDebug.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static MajDebug()
_unityLogger = Debug.unityLogger;

LogWriteback();
#if !UNITY_EDITOR
#if !(UNITY_EDITOR || DEBUG)
Application.logMessageReceivedThreaded += (string condition, string stackTrace, LogType type) =>
{
MajDebug.Log($"{condition}\n{stackTrace}", type);
Expand Down

0 comments on commit 2458c01

Please sign in to comment.