1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 05:27:23 +08:00

Fix combo duplication.

This commit is contained in:
smoogipooo 2017-09-13 00:19:17 +09:00
parent 7dd79f5a0b
commit 2a45451308

View File

@ -194,19 +194,6 @@ namespace osu.Game.Rulesets.Scoring
/// <param name="judgement">The judgement to add.</param>
protected void AddJudgement(Judgement judgement)
{
if (judgement.AffectsCombo)
{
switch (judgement.Result)
{
case HitResult.Miss:
Combo.Value = 0;
break;
default:
Combo.Value++;
break;
}
}
OnNewJudgement(judgement);
NotifyNewJudgement(judgement);