1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

Merge pull request #25602 from peppy/fix-slider-end-display

Fix results screen not including slider end misses in tick count
This commit is contained in:
Dan Balasescu 2023-11-29 22:00:06 +09:00 committed by GitHub
commit 9c0fefebc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -342,23 +342,7 @@ namespace osu.Game.Scoring
switch (r.result)
{
case HitResult.SmallTickHit:
{
int total = value + Statistics.GetValueOrDefault(HitResult.SmallTickMiss);
if (total > 0)
yield return new HitResultDisplayStatistic(r.result, value, total, r.displayName);
break;
}
case HitResult.LargeTickHit:
{
int total = value + Statistics.GetValueOrDefault(HitResult.LargeTickMiss);
if (total > 0)
yield return new HitResultDisplayStatistic(r.result, value, total, r.displayName);
break;
}
case HitResult.LargeBonus:
case HitResult.SmallBonus:
if (MaximumStatistics.TryGetValue(r.result, out int count) && count > 0)