mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -151,7 +151,6 @@ void Game::LoadPlugins(const std::vector<std::string>& plugins,
|
||||
|
||||
// Clear the existing plugin cache.
|
||||
cache_->ClearCachedPlugins();
|
||||
loadOrderHandler_->LoadCurrentState();
|
||||
|
||||
// Load the plugins.
|
||||
if (logger) {
|
||||
|
||||
Reference in New Issue
Block a user