mirror of
https://github.com/ppy/osu
synced 2024-12-16 11:56:31 +00:00
Subtract a result from count if its been reverted
This commit is contained in:
parent
39fb5712f1
commit
b0e34d86d5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user