diff --git a/Broker_CTA.toc b/Broker_CTA.toc index 4fac6b4..36020bb 100644 --- a/Broker_CTA.toc +++ b/Broker_CTA.toc @@ -2,7 +2,7 @@ ## Title: Broker: Call to Arms ## Notes: Call to Arms bonus satchel scanning ## Author: @icbat -## Version: 16 +## Version: 17 ## IconTexture: Interface/Addons/Broker_CTA/ick-logo ## Dependencies diff --git a/Display.lua b/Display.lua index 4bee274..c63122e 100644 --- a/Display.lua +++ b/Display.lua @@ -27,6 +27,11 @@ local function buildCompletionMessage(instance_table, is_eligible) local total = instance_table["total_encounters"] local text = " " .. completed .. "/" .. total + if total == 0 then + -- Dungeons, for example, show 0/0 otherwise + return "" + end + if completed == total then return coloredText(text, red, is_eligible) end