mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
@@ -406,6 +406,9 @@ namespace loot {
|
||||
|
||||
g_app_state.CurrentGame().userlist.ErasePlugin(Plugin(pluginName));
|
||||
|
||||
// Save userlist edits.
|
||||
g_app_state.CurrentGame().userlist.Save(g_app_state.CurrentGame().UserlistPath());
|
||||
|
||||
// Now rederive the displayed metadata from the masterlist.
|
||||
YAML::Node derivedMetadata = GenerateDerivedMetadata(pluginName);
|
||||
if (derivedMetadata.size() > 0)
|
||||
@@ -877,6 +880,9 @@ namespace loot {
|
||||
// Clear the user metadata.
|
||||
g_app_state.CurrentGame().userlist.clear();
|
||||
|
||||
// Save userlist edits.
|
||||
g_app_state.CurrentGame().userlist.Save(g_app_state.CurrentGame().UserlistPath());
|
||||
|
||||
// Regenerate the derived metadata (priority, messages, tags and dirty state)
|
||||
// for any plugins with userlist entries.
|
||||
YAML::Node pluginsNode;
|
||||
|
||||
Reference in New Issue
Block a user