Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Write mods that are not in world.mt into it at world startup
  • Loading branch information
PilzAdam committed May 19, 2013
1 parent dcd0b63 commit b2253e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mods.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit b2253e5

Please sign in to comment.