focus: only match for exact unitnames

This commit is contained in:
shagu
2018-11-02 16:33:26 +01:00
parent 3c4cf6c478
commit 4de1690809
+1 -1
View File
@@ -37,7 +37,7 @@ function SlashCmdList.PFCASTFOCUS(msg)
if pfUI.uf.focus.label and pfUI.uf.focus.id then
TargetUnit(pfUI.uf.focus.label .. pfUI.uf.focus.id)
else
TargetByName(pfUI.uf.focus.unitname)
TargetByName(pfUI.uf.focus.unitname, true)
end
if strlower(UnitName("target")) ~= strlower(pfUI.uf.focus.unitname) then