mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Fix results screen not including slider end misses in tick count
This commit is contained in:
parent
9bee354195
commit
3553717cc6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user