mirror of
https://github.com/ppy/osu
synced 2025-01-04 05:12:10 +00:00
Fix combo duplication.
This commit is contained in:
parent
7dd79f5a0b
commit
2a45451308
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user