1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 15:33:05 +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--;
if (result.Judgement.AffectsCombo)
{
if (result.Type != HitResult.None)
scoreResultCounts[result.Type] = scoreResultCounts.GetOrDefault(result.Type) - 1;
}
if (result.Judgement.IsBonus)
{
if (result.IsHit)