From 8be10487e4c95a963c1b259a9552192f26663145 Mon Sep 17 00:00:00 2001 From: rilgamon Date: Fri, 2 Apr 2021 00:34:15 +0200 Subject: [PATCH] Remove debug, fix wrong colorize --- broker.lua | 2 +- core.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/broker.lua b/broker.lua index 13e2b18..4fcba28 100644 --- a/broker.lua +++ b/broker.lua @@ -18,7 +18,7 @@ local function getQuestlist(mapid) if(not info['isHeader']) then if(header == mapName) then idlist[#idlist + 1] = info['questID'] - print(info['title'], header, info['isOnMap']) +-- print(info['title'], header, info['isOnMap']) end else header = info['title'] diff --git a/core.lua b/core.lua index ead4323..c39edb8 100644 --- a/core.lua +++ b/core.lua @@ -22,7 +22,7 @@ function child:QuestUpdate() end local line = format("%i/%i",numQuests, maxNumQuests) if(numQuests==maxNumQuests or numQuests==0) then - line = addon:colorize(line, 'ff0000') + line = child:colorize(line, 'ff0000') end child:OnText(childName, line) end