Fixed fallout from disabling GCD module

Fixes wowace ticket 253
This commit is contained in:
Parnic
2019-09-26 15:38:42 -05:00
parent a0d05ebf94
commit 09a85b4e53
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,6 @@
v1.12.7:
- (Classic) Fixed fallout from disabling GCD module (errors in castbar).
v1.12.6:
- (Classic) Disabled Combo modules for non-Rogues/-Druids. They were sometimes showing for other class abilities for some reason.

View File

@ -439,8 +439,10 @@ function CastBar.prototype:SpellCastStart(event, unit, castGuid, spellId)
end
self:UpdateLagBar()
if IceHUD.GlobalCoolDown then
self.nextLagUpdate = GetTime() + (select(2, GetSpellCooldown(IceHUD.GlobalCoolDown:GetSpellId())) / 2)
end
end
-- OVERRIDE
@ -464,8 +466,10 @@ function CastBar.prototype:SpellCastSucceeded(event, unit, castGuid, spellId)
end
self:UpdateLagBar()
if IceHUD.GlobalCoolDown then
self.nextLagUpdate = GetTime() + (select(2, GetSpellCooldown(IceHUD.GlobalCoolDown:GetSpellId())) / 2)
end
end
function CastBar.prototype:UpdateLagBar(isChannel)