Fixed condition for mg assert
This commit is contained in:
parent
11299981df
commit
112c4528d3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user