Skip to content
Snippets Groups Projects
Commit f71ebbcb authored by DarkGod's avatar DarkGod
Browse files

fix color

parent d907691d
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ local dcb = function(self)
for damtype, value in pairs(data.damtypes) do if damtype ~= "changed" then
local dt = DamageType:get(damtype)
if dt then
text[#text+1] = ("%s%s#WHITE#: %d (%d%%)"):format(dt.text_color, dt.name, value, value / data.total * 100)
text[#text+1] = ("%s%s#WHITE#: %d (%d%%)"):format(dt.text_color or "#WHITE#", dt.name, value, value / data.total * 100)
end
end end
text = table.concat(text, "\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment