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:
Oliver Hamlet
2016-01-11 17:56:45 +00:00
parent 12a5f44af4
commit 15be73975a
-4
View File
@@ -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);
}