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
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ public IEnumerable<HitResultDisplayStatistic> GetStatisticsForDisplay()
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;