aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/mods/modmanager.cpp
diff options
context:
space:
mode:
authorunknown <for.oliver.kirkham@gmail.com>2023-02-13 16:29:29 +0000
committerBobTheBob <for.oliver.kirkham@gmail.com>2023-02-22 22:18:57 +0000
commitc6c95424345a3065cdcaf86377b414d0da2d6313 (patch)
tree614a2a190631c575507659ebf3737e35f08f1518 /NorthstarDLL/mods/modmanager.cpp
parent93871f36c2e36996d880aa68d6445c7d3802c100 (diff)
downloadNorthstarLauncher-c6c95424345a3065cdcaf86377b414d0da2d6313.tar.gz
NorthstarLauncher-c6c95424345a3065cdcaf86377b414d0da2d6313.zip
local commit for merging main
Diffstat (limited to 'NorthstarDLL/mods/modmanager.cpp')
-rw-r--r--NorthstarDLL/mods/modmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/mods/modmanager.cpp b/NorthstarDLL/mods/modmanager.cpp
index 4c05c0ae..aa96fe5a 100644
--- a/NorthstarDLL/mods/modmanager.cpp
+++ b/NorthstarDLL/mods/modmanager.cpp
@@ -1038,7 +1038,7 @@ void ModManager::SaveEnabledMods()
enabledModsCfg.SetObject();
// add values
- for (Mod& mod : GetMods())
+ for (Mod& mod : GetMods() | FilterLocal)
enabledModsCfg.AddMember(rapidjson_document::StringRefType(mod.Name.c_str()), mod.m_bEnabled, enabledModsCfg.GetAllocator());
// write