mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove unnecessary post-sort assignments
Sorting doesn't change messages, tags or isDirty. They can be changed by a masterlist update, which may happen during sorting, but the masterlist update function takes care of updating that data.
This commit is contained in:
@@ -159,10 +159,6 @@ function onSortPlugins() {
|
||||
if (existingPlugin) {
|
||||
existingPlugin.crc = plugin.crc;
|
||||
existingPlugin.isEmpty = plugin.isEmpty;
|
||||
|
||||
existingPlugin.messages = plugin.messages;
|
||||
existingPlugin.tags = plugin.tags;
|
||||
existingPlugin.isDirty = plugin.isDirty;
|
||||
} else {
|
||||
existingPlugin = new loot.Plugin(plugin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user