1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 07:22:55 +08:00

Fix osu! mode adding combos twice.

This commit is contained in:
Dean Herbert 2017-04-11 19:19:54 +09:00
parent c615762da6
commit 3aefd50239
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -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;