diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-10-06 21:46:32 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-10-06 21:46:32 +0100 |
commit | 900855c0036aa9a6a6305e3f17a41a55640bdfaf (patch) | |
tree | 2f6a3c07549927b600ec3b1a8389a0062a684a53 /NorthstarDedicatedTest/scriptsrson.cpp | |
parent | 51df18abbc0c344b56f88e0a66b6b46d6aca375c (diff) | |
download | NorthstarLauncher-900855c0036aa9a6a6305e3f17a41a55640bdfaf.tar.gz NorthstarLauncher-900855c0036aa9a6a6305e3f17a41a55640bdfaf.zip |
add mod enabling/disabling
Diffstat (limited to 'NorthstarDedicatedTest/scriptsrson.cpp')
-rw-r--r-- | NorthstarDedicatedTest/scriptsrson.cpp | 3 |
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; |