cleanup SetFormattedText( -> SetText(format(

This commit is contained in:
Crum
2018-06-11 22:55:08 -05:00
parent bec12d0f0d
commit cce774b837
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ local function UpdateAuraTime(frame, expiration)
if timervalue < 4 then
timeFormat = E.TimeFormats[4][2]
end
frame.timeLeft:SetFormattedText(("%s%s|r"):format(TimeColors[formatid], timeFormat), timervalue)
frame.timeLeft:SetText(format("%s%s|r", TimeColors[formatid], timeFormat), timervalue)
end
local function RemoveAuraInstance(guid, spellID, caster)