mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -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
|
localDuration = (now - localStart) + localRemaining
|
||||||
end
|
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)
|
localDuration = tonumber(self.moduleSettings.maxDuration)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user