From 32f33d61e09108706d6378795a0699a47e876bc2 Mon Sep 17 00:00:00 2001 From: shefki Date: Sat, 21 Jun 2008 04:12:29 +0000 Subject: [PATCH] - Fix to allow castbar text to update for target/focus when changed and unit is already casting. (Fixes PB-382 and probably others) --- Categories/Cast.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Categories/Cast.lua b/Categories/Cast.lua index 49d27e4..8190f51 100644 --- a/Categories/Cast.lua +++ b/Categories/Cast.lua @@ -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