X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/3918a9364d5753ca753971cb80c648df1f2af560..f8f03f190e105378eaa96ad227786d8f50f7da76:/OmaCD/Inspect.lua?ds=inline diff --git a/OmaCD/Inspect.lua b/OmaCD/Inspect.lua index 5c5fb5e..f1d2068 100644 --- a/OmaCD/Inspect.lua +++ b/OmaCD/Inspect.lua @@ -94,8 +94,8 @@ function OmaInspect.Request(guid, id, callback, needItems, force) cached.cb = callback; cached.needItems = needItems; local elapsed = GetTime() - cached.time; - if force or (not needItems and (not cached.talent or elapsed > 60)) or - (needItems and (not cached.weapon or elapsed > 60)) then + if force or (not needItems and (cached.talent == nil or elapsed > 60)) or + (needItems and (cached.weapon == nil or elapsed > 60)) then if not pending[guid] or inspecting ~= guid then -- don't send multiple inspects inspect(id); end