1 parent f1010a4 commit 247a8d9Copy full SHA for 247a8d9
1 file changed
src/Engine/Options.cpp
@@ -685,13 +685,10 @@ void updateMods()
685
userSplitMasters();
686
687
Log(LOG_INFO) << "Active mods:";
688
- for (std::vector< std::pair<std::string, bool> >::const_iterator i = mods.begin(); i != mods.end(); ++i)
+ std::vector<const ModInfo*> activeMods = Options::getActiveMods();
689
+ for (std::vector<const ModInfo*>::const_iterator i = activeMods.begin(); i != activeMods.end(); ++i)
690
{
- if (i->second)
691
- {
692
- const ModInfo &modInfo = _modInfos.find(i->first)->second;
693
- Log(LOG_INFO) << "- " << modInfo.getId() << " v" << modInfo.getVersion();
694
- }
+ Log(LOG_INFO) << "- " << (*i)->getId() << " v" << (*i)->getVersion();
695
}
696
697
0 commit comments