From 13b4199a2d48d383d82fa875d1c446ba895594d8 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 2 Apr 2018 13:12:07 +0100 Subject: [PATCH] Don't load current load order state when loading plugins Loading the load order can fail, and it should be possible to handle it client-side but continue loading plugins. --- include/loot/game_interface.h | 2 +- src/api/game/game.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/loot/game_interface.h b/include/loot/game_interface.h index db6cf2ef..8c406192 100644 --- a/include/loot/game_interface.h +++ b/include/loot/game_interface.h @@ -63,7 +63,7 @@ public: /** * @brief Parses plugins and loads their data. * @details Any previously-loaded plugin data is discarded when this function - * is called. This function also loads the current load order state. + * is called. * @param plugins * The filenames of the plugins to load. * @param loadHeadersOnly diff --git a/src/api/game/game.cpp b/src/api/game/game.cpp index 4d4258e6..5518a300 100644 --- a/src/api/game/game.cpp +++ b/src/api/game/game.cpp @@ -151,7 +151,6 @@ void Game::LoadPlugins(const std::vector& plugins, // Clear the existing plugin cache. cache_->ClearCachedPlugins(); - loadOrderHandler_->LoadCurrentState(); // Load the plugins. if (logger) {