Added Assert to Logger

This commit is contained in:
Simon Lübeß
2021-02-05 15:50:50 +01:00
parent bca23f7a23
commit a2e4b5563e
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ namespace GlitchyEngine
public this()
{
Runtime.Assert(s_Instance == null, "Tried to create a second application.");
Log.EngineLogger.Assert(s_Instance == null, "Tried to create a second application.");
s_Instance = this;
_window = new Window(.Default);