mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 03:20:49 +00:00
focus: only match for exact unitnames
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ function SlashCmdList.PFCASTFOCUS(msg)
|
|||||||
if pfUI.uf.focus.label and pfUI.uf.focus.id then
|
if pfUI.uf.focus.label and pfUI.uf.focus.id then
|
||||||
TargetUnit(pfUI.uf.focus.label .. pfUI.uf.focus.id)
|
TargetUnit(pfUI.uf.focus.label .. pfUI.uf.focus.id)
|
||||||
else
|
else
|
||||||
TargetByName(pfUI.uf.focus.unitname)
|
TargetByName(pfUI.uf.focus.unitname, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
if strlower(UnitName("target")) ~= strlower(pfUI.uf.focus.unitname) then
|
if strlower(UnitName("target")) ~= strlower(pfUI.uf.focus.unitname) then
|
||||||
|
|||||||
Reference in New Issue
Block a user