aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/scripts/client
diff options
context:
space:
mode:
authorunknown <for.oliver.kirkham@gmail.com>2023-02-13 13:51:40 +0000
committerBobTheBob <for.oliver.kirkham@gmail.com>2023-02-22 22:18:56 +0000
commit93871f36c2e36996d880aa68d6445c7d3802c100 (patch)
treefb1dfd1555eb9b4bc061394cd78856667d48fe4a /NorthstarDLL/scripts/client
parent07e386b12cb1a92c99cd5e3034cb4f94f28fb3eb (diff)
downloadNorthstarLauncher-93871f36c2e36996d880aa68d6445c7d3802c100.tar.gz
NorthstarLauncher-93871f36c2e36996d880aa68d6445c7d3802c100.zip
refactor modloading and implement initial automatic reload code
Diffstat (limited to 'NorthstarDLL/scripts/client')
-rw-r--r--NorthstarDLL/scripts/client/scriptmodmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/scripts/client/scriptmodmenu.cpp b/NorthstarDLL/scripts/client/scriptmodmenu.cpp
index c6c53c7f..9d024936 100644
--- a/NorthstarDLL/scripts/client/scriptmodmenu.cpp
+++ b/NorthstarDLL/scripts/client/scriptmodmenu.cpp
@@ -145,9 +145,9 @@ ADD_SQFUNC(
{
if (!mod.Name.compare(modName))
{
- for (ModConVar* cvar : mod.ConVars)
+ for (ModConVar& cvar : mod.ConVars)
{
- g_pSquirrel<context>->pushstring(sqvm, cvar->Name.c_str());
+ g_pSquirrel<context>->pushstring(sqvm, cvar.Name.c_str());
g_pSquirrel<context>->arrayappend(sqvm, -2);
}