- Fix to allow castbar text to update for target/focus when changed and

unit is already casting.  (Fixes PB-382 and probably others)
This commit is contained in:
shefki
2008-06-21 04:12:29 +00:00
parent fbb17b12df
commit 32f33d61e0

View File

@ -66,7 +66,7 @@ DogTag:AddTimerHandler("Unit", function(num, currentTime)
end
end)
DogTag:AddEventHandler("Unit", "UnitChange", function(event, unit)
DogTag:AddEventHandler("Unit", "UnitChanged", function(event, unit)
if rawget(castData, unit) then
castData[unit] = del(castData[unit])
end