diff --git a/lua/ev_plugins/sh_playernames.lua b/lua/ev_plugins/sh_playernames.lua index 42d98e3..0eee860 100644 --- a/lua/ev_plugins/sh_playernames.lua +++ b/lua/ev_plugins/sh_playernames.lua @@ -92,7 +92,7 @@ else surface.DrawTexturedRect( drawPos.x + 5, drawPos.y + 5, 14, 14 ) local col = evolve.ranks[ pl:EV_GetRank() ].Color or team.GetColor( pl:Team() ) - col.a = math.Clamp( alpha * 2, 0, 255 ) + col = Color(col.r, col.g, col.b, math.Clamp( alpha * 2, 0, 255 )) draw.DrawText( pl:Nick(), "DefaultBold", drawPos.x + 28, drawPos.y + 5, col, 0 ) end end