aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/squirrel.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-23 02:32:18 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-07-23 02:32:18 +0100
commit23a1dafcde70822a9899e9aab190f36521c1aedd (patch)
tree58292b4d3abfa22742c9d8e8fcff208c9c6b2475 /NorthstarDedicatedTest/squirrel.cpp
parent8564c36b49f5f0451be5036371e421a44425b02e (diff)
downloadNorthstarLauncher-23a1dafcde70822a9899e9aab190f36521c1aedd.tar.gz
NorthstarLauncher-23a1dafcde70822a9899e9aab190f36521c1aedd.zip
add basic vpk file replacement
Diffstat (limited to 'NorthstarDedicatedTest/squirrel.cpp')
-rw-r--r--NorthstarDedicatedTest/squirrel.cpp4
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)
{