buffwatch: remove text on unknown buff durations

This commit is contained in:
shagu
2020-03-22 22:13:03 +01:00
parent 07b8696625
commit d3674bc82d
+1 -1
View File
@@ -127,7 +127,7 @@ pfUI:RegisterModule("buffwatch", "vanilla:tbc", function ()
this.bar:SetValue(remaining > 0 and remaining or 0)
if ( this.tick or 1) > GetTime() then return else this.tick = GetTime() + .1 end
this.time:SetText(remaining > 0 and GetColoredTimeString(remaining) or "N/A")
this.time:SetText(remaining > 0 and GetColoredTimeString(remaining) or "")
end
local function StatusBarRefreshParent()