diff --git a/src/gui/html/elements/loot-plugin-editor.html b/src/gui/html/elements/loot-plugin-editor.html
index b9064c5f..c8b4f1e9 100644
--- a/src/gui/html/elements/loot-plugin-editor.html
+++ b/src/gui/html/elements/loot-plugin-editor.html
@@ -292,7 +292,7 @@ loot-editor-close
}
if (this.$.globalPriorityValue.value !== oldData.globalPriority) {
plugin.globalPriority = this.$.globalPriorityValue.value;
- plugin.userlist.globalPriority = this.$.globalPriority.value;
+ plugin.userlist.globalPriority = this.$.globalPriorityValue.value;
}
plugin.userlist.enabled = this.$.enableEdits.checked;