From f71ebbcb5ab593be431f154a13bc24e2a981e75b Mon Sep 17 00:00:00 2001 From: DarkGod <darkgod@net-core.org> Date: Sat, 19 Oct 2013 00:09:32 +0200 Subject: [PATCH] fix color --- game/modules/tome/data/zones/shertul-fortress/grids.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/modules/tome/data/zones/shertul-fortress/grids.lua b/game/modules/tome/data/zones/shertul-fortress/grids.lua index 9125101958..0d9c78e9ff 100644 --- a/game/modules/tome/data/zones/shertul-fortress/grids.lua +++ b/game/modules/tome/data/zones/shertul-fortress/grids.lua @@ -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") -- GitLab