Fix error in CD module set to WhenReady mode

This commit is contained in:
Parnic
2024-08-30 21:54:08 -05:00
parent 42e76dde72
commit b75112db79
3 changed files with 13 additions and 0 deletions

View File

@ -61,6 +61,11 @@ if not IsUsableSpell and C_Spell then
IsUsableSpell = C_Spell.IsSpellUsable
end
local SpellHasRange = SpellHasRange
if not SpellHasRange and C_Spell then
SpellHasRange = C_Spell.SpellHasRange
end
IceCustomCDBar.prototype.cooldownDuration = 0
IceCustomCDBar.prototype.cooldownEndTime = 0
IceCustomCDBar.prototype.coolingDown = false