mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +08: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--;
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user