mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Push Loggers earlyer to hopefully avoid race condition
+ Fix null check in EditorLogger
This commit is contained in:
@@ -113,7 +113,7 @@ public class EditorLogger : Logger
|
||||
|
||||
Debug.Write($"[{timestamp:HH:mm:ss.fff}] ({_name})|{level.UpperString}: {message}\n");
|
||||
|
||||
if (Editor.Instance == null)
|
||||
if (Editor.Instance?.LogWindow == null)
|
||||
return;
|
||||
|
||||
if (args.Count > 0 && (var ex = args[^1] as MonoExceptionHelper))
|
||||
|
||||
Reference in New Issue
Block a user