1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 09:07:25 +08:00

Merge pull request #30572 from Joehuu/fix-break-overlay-grades

Fix break overlay grades not using localised string
This commit is contained in:
Dean Herbert 2024-11-10 21:13:01 +09:00 committed by GitHub
commit 4aa3516058
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
}