Remove debug, fix wrong colorize
This commit is contained in:
parent
9269942847
commit
8be10487e4
|
@ -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']
|
||||||
|
|
2
core.lua
2
core.lua
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue