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:
parent
9bee354195
commit
3553717cc6
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user