diff options
Diffstat (limited to 'NorthstarDLL/scripts/client/scriptmodmenu.cpp')
-rw-r--r-- | NorthstarDLL/scripts/client/scriptmodmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/scripts/client/scriptmodmenu.cpp b/NorthstarDLL/scripts/client/scriptmodmenu.cpp index 0beea4f2..6c0684e2 100644 --- a/NorthstarDLL/scripts/client/scriptmodmenu.cpp +++ b/NorthstarDLL/scripts/client/scriptmodmenu.cpp @@ -146,9 +146,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); } |