mouseover: fallback to target if existing

This commit is contained in:
shagu
2016-12-21 14:13:39 +01:00
parent 3f609dd4a9
commit 4f6f2fce88
+2
View File
@@ -11,6 +11,8 @@ pfUI:RegisterModule("mouseover", function ()
unit = frame.label .. frame.id
elseif GetCVar("autoSelfCast") == "1" then
unit = "player"
elseif UnitExists("target") then
unit = "target"
else
return
end