1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 19:22:54 +08:00

Subtract a result from count if its been reverted

This commit is contained in:
David Zhao 2019-05-09 16:16:20 +09:00
parent 39fb5712f1
commit b0e34d86d5

View File

@ -360,6 +360,12 @@ namespace osu.Game.Rulesets.Scoring
JudgedHits--; JudgedHits--;
if (result.Judgement.AffectsCombo)
{
if (result.Type != HitResult.None)
scoreResultCounts[result.Type] = scoreResultCounts.GetOrDefault(result.Type) - 1;
}
if (result.Judgement.IsBonus) if (result.Judgement.IsBonus)
{ {
if (result.IsHit) if (result.IsHit)