git
/
wowui.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
f8f03f1 - Fix inspect caching, should now properly cache for 60 sec
[wowui.git]
/
OmaCD
/
Cooldowns.lua
diff --git
a/OmaCD/Cooldowns.lua
b/OmaCD/Cooldowns.lua
index
c5241f1
..
6e3ce70
100644
(file)
--- a/
OmaCD/Cooldowns.lua
+++ b/
OmaCD/Cooldowns.lua
@@
-197,7
+197,7
@@
end
local function updateUnitCD(guid)
local specid = guidToSpecid[guid];
local function updateUnitCD(guid)
local specid = guidToSpecid[guid];
- if specid then
+ if specid
and trackedcds[specid]
then
for spellid, _ in pairs(trackedcds[specid]) do
updateCD(guid, specid, spellid);
end
for spellid, _ in pairs(trackedcds[specid]) do
updateCD(guid, specid, spellid);
end
@@
-233,7
+233,7
@@
local function monkTick()
if not InCombatLockdown() then
for guid, _ in pairs(monks) do
local id = guidToId[guid];
if not InCombatLockdown() then
for guid, _ in pairs(monks) do
local id = guidToId[guid];
- if id then OmaInspect.Request(guid, id, updateMonk) end
+ if id then OmaInspect.Request(guid, id, updateMonk
, true
) end
end
end
CTimerAfter(10, monkTick);
end
end
CTimerAfter(10, monkTick);