nameplates: fix click events on legacy plates

This commit is contained in:
shagu
2018-10-09 21:06:38 +02:00
parent 932e78bc3e
commit d168e845db
+1 -1
View File
@@ -401,7 +401,7 @@ pfUI:RegisterModule("nameplates", function ()
-- disable click events while spell is targeting
local mouseEnabled = this.nameplate:IsMouseEnabled()
if C.nameplates["clickthrough"] == "0" and SpellIsTargeting() == mouseEnabled then
if C.nameplates["clickthrough"] == "0" and C.nameplates["legacy"] == "0" and SpellIsTargeting() == mouseEnabled then
this.nameplate:EnableMouse(not mouseEnabled)
end