Fix cast lag indicator updating for others' spells

This commit is contained in:
Parnic
2018-08-18 14:55:22 -05:00
parent c4d35b9766
commit 337bd72545

View File

@ -455,7 +455,7 @@ end
function CastBar.prototype:SpellCastSucceeded(event, unit, castGuid, spellId)
CastBar.super.prototype.SpellCastSucceeded(self, event, unit, castGuid, spellId)
if not self.actionDuration then
if not self.actionDuration or unit ~= self.unit then
return
end