1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:20:04 +08:00

Show maximum bonus statistics on results screen

Addresses https://github.com/ppy/osu/discussions/25088.
This commit is contained in:
Dean Herbert 2023-10-12 14:55:16 +09:00
parent f26e3afd29
commit 5bb73632c4
No known key found for this signature in database

View File

@ -346,7 +346,7 @@ namespace osu.Game.Scoring
case HitResult.LargeBonus:
case HitResult.SmallBonus:
if (MaximumStatistics.TryGetValue(r.result, out int count) && count > 0)
yield return new HitResultDisplayStatistic(r.result, value, null, r.displayName);
yield return new HitResultDisplayStatistic(r.result, value, count, r.displayName);
break;