Refresh active plugins list when loading game data.

This commit is contained in:
WrinklyNinja
2014-09-03 11:13:01 +01:00
parent 34b3626093
commit c0cbecbb65
+3
View File
@@ -579,6 +579,9 @@ namespace loot {
g_app_state.CurrentGame().conditionCache.clear();
g_app_state.CurrentGame().crcCache.clear();
// Also refresh active plugins list.
g_app_state.CurrentGame().RefreshActivePluginsList();
bool isFirstLoad = g_app_state.CurrentGame().plugins.empty();
g_app_state.CurrentGame().LoadPlugins(true);