Fixed plugins being loaded twice.

This commit is contained in:
WrinklyNinja
2013-09-13 18:09:49 +01:00
parent 8cb9ae0b55
commit 866d287ee5
+2 -2
View File
@@ -487,11 +487,11 @@ void Launcher::OnSortPlugins(wxCommandEvent& event) {
BOOST_LOG_TRIVIAL(trace) << "Found plugin: " << it->first;
vertex_t v = boost::add_vertex(boss::Plugin(_game, it->first, false), graph);
vertex_t v = boost::add_vertex(boss::Plugin(it->first), graph);
if (it->second > meanFileSize) {
plugin_loader pl(graph[v], _game);
pll.skipPlugins.insert(it->first);
plugin_loader pl(graph[v], _game);
group.create_thread(pl);
}