summaryrefslogtreecommitdiff
path: root/src/mods.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mods.cpp')
-rw-r--r--src/mods.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mods.cpp b/src/mods.cpp
index a0a37afb9..9097f5708 100644
--- a/src/mods.cpp
+++ b/src/mods.cpp
@@ -247,8 +247,11 @@ ModConfiguration::ModConfiguration(std::string worldpath)
ModSpec& mod = *it;
if(include_mod_names.count(mod.name) != 0)
addon_mods.push_back(mod);
+ else
+ worldmt_settings.setBool("load_mod_" + mod.name, false);
}
}
+ worldmt_settings.updateConfigFile(worldmt.c_str());
addMods(addon_mods);