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 43a45779..4eae96a4 100644 --- a/NorthstarDedicatedTest/squirrel.cpp +++ b/NorthstarDedicatedTest/squirrel.cpp @@ -201,7 +201,7 @@ template<Context context> char CallScriptInitCallbackHook(void* sqvm, const char // run before callbacks if (shouldCallCustomCallbacks) { - for (Mod* mod : g_ModManager->GetMods()) + for (Mod* mod : g_ModManager->m_loadedMods) { for (ModScript* script : mod->Scripts) { @@ -225,7 +225,7 @@ template<Context context> char CallScriptInitCallbackHook(void* sqvm, const char // run after callbacks if (shouldCallCustomCallbacks) { - for (Mod* mod : g_ModManager->GetMods()) + for (Mod* mod : g_ModManager->m_loadedMods) { for (ModScript* script : mod->Scripts) { |