From d5a8af8cd5c04d9ed64bdf7249c8413862b3674a Mon Sep 17 00:00:00 2001 From: Parnic Date: Tue, 20 Apr 2010 05:56:46 +0000 Subject: [PATCH] - attempt to fix button mashing while casting channeled spells causing the cast bar to get cut off when it wasn't supposed to. needs user testing before going live --- IceCastBar.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/IceCastBar.lua b/IceCastBar.lua index 867c744..7d289d9 100644 --- a/IceCastBar.lua +++ b/IceCastBar.lua @@ -421,6 +421,11 @@ function IceCastBar.prototype:SpellCastFailed(unit, spell, rank) return end + -- channeled spells will call ChannelStop, not cast failed + if self.action == IceCastBar.Actions.Channel then + return + end + self.current = nil -- determine if we want to show failed casts