diff --git a/CHANGELOG.md b/CHANGELOG.md index 115f6d48..18be0fe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## v11.0.3 * Fix activation overlays in Classic +* Fix the Tracking ACtive condition (again) ## v11.0.2 * Support Masque round spell activation overlays. diff --git a/Components/IconTypes/IconType_dr/dr.lua b/Components/IconTypes/IconType_dr/dr.lua index 7d238da2..5dab80f5 100644 --- a/Components/IconTypes/IconType_dr/dr.lua +++ b/Components/IconTypes/IconType_dr/dr.lua @@ -234,14 +234,16 @@ TMW:RegisterCallback("TMW_EQUIVS_PROCESSING", function() end end - local k = myCategories[category] - - if k then - usedCategories[category] = true - dr[k] = dr[k] or {} - tinsert(dr[k], spellID) - elseif TMW.debug and not ignored[category] then - TMW:Error("The DR category %q is undefined!", category) + if category then + local k = myCategories[category] + + if k then + usedCategories[category] = true + dr[k] = dr[k] or {} + tinsert(dr[k], spellID) + elseif TMW.debug and not ignored[category] then + TMW:Error("The DR category %q is undefined!", category) + end end end