aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/scriptsrson.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/scriptsrson.cpp')
-rw-r--r--NorthstarDedicatedTest/scriptsrson.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/scriptsrson.cpp b/NorthstarDedicatedTest/scriptsrson.cpp
index bc49ed26..514d4f1c 100644
--- a/NorthstarDedicatedTest/scriptsrson.cpp
+++ b/NorthstarDedicatedTest/scriptsrson.cpp
@@ -19,6 +19,9 @@ void ModManager::BuildScriptsRson()
for (Mod* mod : m_loadedMods)
{
+ if (!mod->Enabled)
+ continue;
+
// this isn't needed at all, just nice to have imo
scriptsRson += "// MOD: ";
scriptsRson += mod->Name;