X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/c03452cad62ea41f86c5450799ede77ae0f055d2..ba69982de70da5d761e9f1bda67f94ab0e218fe7:/OmaCD/Cooldowns.lua?ds=sidebyside 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);