diff options
Diffstat (limited to 'NorthstarDedicatedTest/squirrel.cpp')
-rw-r--r-- | NorthstarDedicatedTest/squirrel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/squirrel.cpp b/NorthstarDedicatedTest/squirrel.cpp index 32092ec9..3802404c 100644 --- a/NorthstarDedicatedTest/squirrel.cpp +++ b/NorthstarDedicatedTest/squirrel.cpp @@ -176,7 +176,7 @@ template <ScriptContext context> bool CallScriptInitCallbackHook(void* sqvm, con if (shouldCallCustomCallbacks) { - for (Mod mod : g_ModManager->m_loadedMods) + for (Mod mod : g_pModManager->m_loadedMods) { if (!mod.Enabled) continue; @@ -203,7 +203,7 @@ template <ScriptContext context> bool CallScriptInitCallbackHook(void* sqvm, con // run after callbacks if (shouldCallCustomCallbacks) { - for (Mod mod : g_ModManager->m_loadedMods) + for (Mod mod : g_pModManager->m_loadedMods) { if (!mod.Enabled) continue; |