mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 09:33:02 +08: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>
|
/// <param name="judgement">The judgement to add.</param>
|
||||||
protected void AddJudgement(Judgement judgement)
|
protected void AddJudgement(Judgement judgement)
|
||||||
{
|
{
|
||||||
if (judgement.AffectsCombo)
|
|
||||||
{
|
|
||||||
switch (judgement.Result)
|
|
||||||
{
|
|
||||||
case HitResult.Miss:
|
|
||||||
Combo.Value = 0;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
Combo.Value++;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
OnNewJudgement(judgement);
|
OnNewJudgement(judgement);
|
||||||
NotifyNewJudgement(judgement);
|
NotifyNewJudgement(judgement);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user