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

Fix results screen not including slider end misses in tick count

This commit is contained in:
Dean Herbert 2023-11-29 21:28:25 +09:00
parent 9bee354195
commit 3553717cc6
No known key found for this signature in database

View File

@ -342,23 +342,7 @@ namespace osu.Game.Scoring
switch (r.result) switch (r.result)
{ {
case HitResult.SmallTickHit: 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: 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.LargeBonus:
case HitResult.SmallBonus: case HitResult.SmallBonus:
if (MaximumStatistics.TryGetValue(r.result, out int count) && count > 0) if (MaximumStatistics.TryGetValue(r.result, out int count) && count > 0)