git
/
wowui.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
08251f8 - Fix OmaCD UNIT_SPELLCAST_SUCCEEDED
[wowui.git]
/
OmaCD
/
Cooldowns.lua
diff --git
a/OmaCD/Cooldowns.lua
b/OmaCD/Cooldowns.lua
index
9d2f25f
..
5f19695
100644
(file)
--- a/
OmaCD/Cooldowns.lua
+++ b/
OmaCD/Cooldowns.lua
@@
-365,7
+365,7
@@
local events = {
end
end
end,
end
end
end,
- ["UNIT_SPELLCAST_SUCCEEDED"] = function(id, _,
_, _,
spellid)
+ ["UNIT_SPELLCAST_SUCCEEDED"] = function(id, _, spellid)
local guid = idToGuid[id];
if guid and frames[guid] then
local frame = frames[guid][spellid];
local guid = idToGuid[id];
if guid and frames[guid] then
local frame = frames[guid][spellid];
@@
-417,7
+417,5
@@
local function cdtracker()
CTimerAfter(0.5, tick);
end
CTimerAfter(0.5, tick);
end
-cdframe:SetScript("OnEvent", function(self, event)
- return cdtracker();
-end);
+cdframe:SetScript("OnEvent", cdtracker);
cdframe:RegisterEvent("PLAYER_LOGIN");
cdframe:RegisterEvent("PLAYER_LOGIN");