From c0cbecbb65c01c2834a90c0a4565be7a66dfd1b2 Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Wed, 3 Sep 2014 11:13:01 +0100 Subject: [PATCH] Refresh active plugins list when loading game data. --- src/gui/handler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/handler.cpp b/src/gui/handler.cpp index 287dbe49..2c54f042 100644 --- a/src/gui/handler.cpp +++ b/src/gui/handler.cpp @@ -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);