X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/c03452cad62ea41f86c5450799ede77ae0f055d2..e3bfc6ab17284d1a62b6a19fcb5b5916040f94ed:/OmaCD/Cooldowns.lua diff --git a/OmaCD/Cooldowns.lua b/OmaCD/Cooldowns.lua index c5241f1..6e3ce70 100644 --- a/OmaCD/Cooldowns.lua +++ b/OmaCD/Cooldowns.lua @@ -197,7 +197,7 @@ end 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 @@ -233,7 +233,7 @@ local function monkTick() 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);