aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/scriptsrson.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/scriptsrson.cpp')
-rw-r--r--NorthstarDedicatedTest/scriptsrson.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/scriptsrson.cpp b/NorthstarDedicatedTest/scriptsrson.cpp
index 0f6680a3..dbe4ddc1 100644
--- a/NorthstarDedicatedTest/scriptsrson.cpp
+++ b/NorthstarDedicatedTest/scriptsrson.cpp
@@ -17,7 +17,7 @@ void ModManager::BuildScriptsRson()
std::string scriptsRson = ReadVPKOriginalFile(VPK_SCRIPTS_RSON_PATH);
scriptsRson += "\n\n// START MODDED SCRIPT CONTENT\n\n"; // newline before we start custom stuff
- for (Mod mod : m_loadedMods)
+ for (Mod& mod : m_loadedMods)
{
if (!mod.Enabled)
continue;
@@ -27,7 +27,7 @@ void ModManager::BuildScriptsRson()
scriptsRson += mod.Name;
scriptsRson += ":\n\n";
- for (ModScript script : mod.Scripts)
+ for (ModScript& script : mod.Scripts)
{
/* should create something with this format for each script
When: "CONTEXT"