- fixed a case where the GCD bar could get cut off early when spamming an instant-cast spell

This commit is contained in:
Parnic
2011-03-13 21:28:35 +00:00
parent 8a28c41944
commit ee7427bdfd

View File

@ -96,6 +96,10 @@ function GlobalCoolDown.prototype:CooldownStateChanged(event, unit, spell)
self:Show(true)
end
end
if event == "UNIT_SPELLCAST_SUCCEEDED" then
self.CurrSpell = nil
end
end
function GlobalCoolDown.prototype:MyOnUpdate()