Fix break overlay grades not using localised string

This commit is contained in:
Joseph Madamba 2024-11-09 16:45:18 -08:00
parent e20163652e
commit 9acfb3c900
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -63,7 +63,7 @@ namespace osu.Game.Screens.Play.Break
protected virtual LocalisableString Format(T count)
{
if (count is Enum countEnum)
return countEnum.GetDescription();
return countEnum.GetLocalisableDescription();
return count.ToString() ?? string.Empty;
}