mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Only ever load header for game master file
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user