diff --git a/mods/capturetheflag/ctf/hud.lua b/mods/capturetheflag/ctf/hud.lua index 841b230..ce84eae 100644 --- a/mods/capturetheflag/ctf/hud.lua +++ b/mods/capturetheflag/ctf/hud.lua @@ -83,6 +83,7 @@ function ctf.hud.update(player) if not color then color = "0x000000" end + player:set_nametag_attributes({ color = "0xFF" .. string.sub(color, 3) }) if not ctf.hud:exists(player, "ctf:hud_team") then return ctf.hud:add(player, "ctf:hud_team", { hud_elem_type = "text",