diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-11-06 23:03:16 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-11-06 23:03:16 +0000 |
commit | a7fd103124d6e6a506d8f837b9a29a97f0ea7e63 (patch) | |
tree | 769af8a2be7890d42e1b3d183cdc9233ee9c969f /NorthstarDedicatedTest/scriptsrson.cpp | |
parent | cfeeaf9561a294f359cc180b86f2644e3828d819 (diff) | |
download | NorthstarLauncher-a7fd103124d6e6a506d8f837b9a29a97f0ea7e63.tar.gz NorthstarLauncher-a7fd103124d6e6a506d8f837b9a29a97f0ea7e63.zip |
modmanager fixes
Diffstat (limited to 'NorthstarDedicatedTest/scriptsrson.cpp')
-rw-r--r-- | NorthstarDedicatedTest/scriptsrson.cpp | 4 |
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" |