mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 22:20:00 +00:00
mouseover: use selfcast if set in config
This commit is contained in:
@@ -9,6 +9,8 @@ pfUI:RegisterModule("mouseover", function ()
|
||||
local frame = GetMouseFocus()
|
||||
if frame.label and frame.id then
|
||||
unit = frame.label .. frame.id
|
||||
elseif GetCVar("autoSelfCast") == "1" then
|
||||
unit = "player"
|
||||
else
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user