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(not info['isHeader']) then
if(header == mapName) then if(header == mapName) then
idlist[#idlist + 1] = info['questID'] idlist[#idlist + 1] = info['questID']
print(info['title'], header, info['isOnMap']) -- print(info['title'], header, info['isOnMap'])
end end
else else
header = info['title'] header = info['title']

View File

@ -22,7 +22,7 @@ function child:QuestUpdate()
end end
local line = format("%i/%i",numQuests, maxNumQuests) local line = format("%i/%i",numQuests, maxNumQuests)
if(numQuests==maxNumQuests or numQuests==0) then if(numQuests==maxNumQuests or numQuests==0) then
line = addon:colorize(line, 'ff0000') line = child:colorize(line, 'ff0000')
end end
child:OnText(childName, line) child:OnText(childName, line)
end end