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:
@ -161,7 +161,7 @@ function GlobalCoolDown.prototype:UpdateGlobalCoolDown()
|
||||
|
||||
self:Show(false)
|
||||
else
|
||||
self:UpdateBar(1 - (self.duration > 0 and remaining / self.duration or 0), "GlobalCoolDown", 0.8)
|
||||
self:UpdateBar(1 - (self.duration ~= 0 and remaining / self.duration or 0), "GlobalCoolDown", 0.8)
|
||||
end
|
||||
else
|
||||
self:Show(false)
|
||||
|
Reference in New Issue
Block a user