unitframes: remove obsolete function call

This commit is contained in:
shagu
2017-04-18 21:08:11 +02:00
parent e6f93906ce
commit 50852d0c5a
+1 -2
View File
@@ -1118,8 +1118,7 @@ function pfUI.uf:GetStatusValue(unit, pos)
-- as a fallback, draw the name
if pos == "center" and not config then
frame:SetTextColor(pfUI.uf:GetColorUnit(unitstr))
return UnitName(unitstr)
config = "unit"
end
if config == "unit" then