From ee7427bdfd644d6390cc13469640ae48ff2ba5d0 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 13 Mar 2011 21:28:35 +0000 Subject: [PATCH] - fixed a case where the GCD bar could get cut off early when spamming an instant-cast spell --- modules/GlobalCoolDown.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/GlobalCoolDown.lua b/modules/GlobalCoolDown.lua index 2c320ee..fd7e2ec 100644 --- a/modules/GlobalCoolDown.lua +++ b/modules/GlobalCoolDown.lua @@ -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()