diff --git a/src/backend/game.cpp b/src/backend/game.cpp index 4561cc8e..c0dd78fd 100644 --- a/src/backend/game.cpp +++ b/src/backend/game.cpp @@ -695,7 +695,7 @@ namespace loot { BOOST_LOG_TRIVIAL(trace) << "Creating individual loading thread for: " << pluginPair.first; group.create_thread([this, plugin, headersOnly]() { BOOST_LOG_TRIVIAL(trace) << "Loading " << plugin.first->second.Name() << " individually."; - plugin.first->second = Plugin(*this, plugin.first->first, headersOnly); + plugin.first->second = Plugin(*this, plugin.first->second.Name(), headersOnly); }); } else {