mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
Fix osu! mode adding combos twice.
This commit is contained in:
parent
7d7bea7198
commit
1a2db87668
@ -30,21 +30,6 @@ namespace osu.Game.Modes.Osu.Scoring
|
||||
|
||||
protected override void OnNewJudgement(OsuJudgement judgement)
|
||||
{
|
||||
if (judgement != null)
|
||||
{
|
||||
switch (judgement.Result)
|
||||
{
|
||||
case HitResult.Hit:
|
||||
Combo.Value++;
|
||||
Health.Value += 0.1f;
|
||||
break;
|
||||
case HitResult.Miss:
|
||||
Combo.Value = 0;
|
||||
Health.Value -= 0.2f;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
int score = 0;
|
||||
int maxScore = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user