From 50852d0c5a924f5e0bb5762b278bdcafe012bbca Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 18 Apr 2017 21:08:11 +0200 Subject: [PATCH] unitframes: remove obsolete function call --- api/unitframes.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index e360749a..28b33d88 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -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