Remove debug, fix wrong colorize

This commit is contained in:
rilgamon 2021-04-02 00:34:15 +02:00
parent 9269942847
commit 8be10487e4
2 changed files with 2 additions and 2 deletions

View File

@ -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']

View File

@ -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