mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- more minor cleanups before tagging a new release version
This commit is contained in:
@ -278,7 +278,7 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate)
|
||||
remaining = self.auraEndTime - now
|
||||
end
|
||||
|
||||
self:UpdateBar(self.auraDuration > 0 and remaining / self.auraDuration or 0, "undef")
|
||||
self:UpdateBar(self.auraDuration ~= 0 and remaining / self.auraDuration or 0, "undef")
|
||||
else
|
||||
self:UpdateBar(0, "undef")
|
||||
self:Show(false)
|
||||
|
Reference in New Issue
Block a user