Only ever load header for game master file

This commit is contained in:
Oliver Hamlet
2016-05-07 13:17:33 +01:00
parent c54be64194
commit ed932cebd1
+4 -1
View File
@@ -165,7 +165,10 @@ namespace loot {
threads.push_back(thread([&]() {
for (auto pluginName : pluginGroup) {
BOOST_LOG_TRIVIAL(trace) << "Loading " << pluginName;
AddPlugin(Plugin(*this, pluginName, headersOnly));
if (boost::iequals(pluginName, Master()))
AddPlugin(Plugin(*this, pluginName, true));
else
AddPlugin(Plugin(*this, pluginName, headersOnly));
}
}));
}