- 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

This commit is contained in:
Parnic
2010-04-20 05:56:46 +00:00
parent b6517b45e9
commit d5a8af8cd5

View File

@ -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