diff --git a/OpenRA.Game/Graphics/SpriteFont.cs b/OpenRA.Game/Graphics/SpriteFont.cs index a6cd5c02c8..a6e45b90b7 100644 --- a/OpenRA.Game/Graphics/SpriteFont.cs +++ b/OpenRA.Game/Graphics/SpriteFont.cs @@ -62,7 +62,7 @@ namespace OpenRA.Graphics void PrecacheColor(Color c, string name) { - using (new PerfTimer("PrecacheColor {0} {1}px {2}".F(name, size, c.Name))) + using (new PerfTimer("PrecacheColor {0} {1}px {2}".F(name, size, c))) for (var n = (char)0x20; n < (char)0x7f; n++) if (glyphs[Pair.New(n, c)] == null) throw new InvalidOperationException();