Quantcast

Fix threat bar bug

Repooc [10-01-17 - 03:46]
Fix threat bar bug
Filename
ElvUI_SLE/modules/misc.lua
diff --git a/ElvUI_SLE/modules/misc.lua b/ElvUI_SLE/modules/misc.lua
index 95c8875..38d7f8b 100644
--- a/ElvUI_SLE/modules/misc.lua
+++ b/ElvUI_SLE/modules/misc.lua
@@ -43,7 +43,7 @@ function M:UpdateThreatConfig()
 					['RIGHTCHAT'] = L["Right Chat"],
 				},
 				get = function(info) return E.db.general.threat.position end,
-				set = function(info, value) E.db.general.threat[ info[#info] ] = value; T:UpdatePosition() end,
+				set = function(info, value) E.db.general.threat.position = value; Tr:UpdatePosition() end,
 			}
 		end
 	end