mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- fixed maximum duration configuration not working for cooldown bars
This commit is contained in:
@ -349,7 +349,7 @@ function IceCustomCDBar.prototype:GetCooldownDuration(buffName)
|
||||
localDuration = (now - localStart) + localRemaining
|
||||
end
|
||||
|
||||
if self.moduleSettings.maxDuration and self.moduleSettings.maxDuration ~= 0 then
|
||||
if self.moduleSettings.maxDuration and tonumber(self.moduleSettings.maxDuration) ~= 0 then
|
||||
localDuration = tonumber(self.moduleSettings.maxDuration)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user