diff --git a/MLEM/Formatting/TokenizedString.cs b/MLEM/Formatting/TokenizedString.cs index 5290811..1f9c8da 100644 --- a/MLEM/Formatting/TokenizedString.cs +++ b/MLEM/Formatting/TokenizedString.cs @@ -124,9 +124,8 @@ namespace MLEM.Formatting { if (i == 0) token.DrawSelf(time, batch, pos + innerOffset, font, color, scale, depth); - var cString = c.ToString(); - token.DrawCharacter(time, batch, c, cString, i, pos + innerOffset, drawFont, drawColor, scale, depth); - innerOffset.X += font.MeasureString(cString).X * scale; + token.DrawCharacter(time, batch, c, c.ToString(), i, pos + innerOffset, drawFont, drawColor, scale, depth); + innerOffset.X += font.MeasureChar(c).X * scale; } } }