Fixed condition for mg assert

This commit is contained in:
Josip Mrden 2024-02-28 15:13:37 +01:00
parent 11299981df
commit 112c4528d3

View File

@ -58,7 +58,7 @@ struct InterpreterContext {
static InterpreterContext *instance;
static InterpreterContext *getInstance() {
MG_ASSERT(instance == nullptr, "Interpreter context has not been initialized!");
MG_ASSERT(instance != nullptr, "Interpreter context has not been initialized!");
return instance;
}