From 98630dd06c712199dcdb50610fcf2a112b1f8ef3 Mon Sep 17 00:00:00 2001 From: smoogipooo Date: Thu, 6 Apr 2017 13:46:26 +0900 Subject: [PATCH] Fix combo calculations. --- .../Scoring/TaikoScoreProcessor.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/osu.Game.Modes.Taiko/Scoring/TaikoScoreProcessor.cs b/osu.Game.Modes.Taiko/Scoring/TaikoScoreProcessor.cs index d215793abe..1774787247 100644 --- a/osu.Game.Modes.Taiko/Scoring/TaikoScoreProcessor.cs +++ b/osu.Game.Modes.Taiko/Scoring/TaikoScoreProcessor.cs @@ -188,8 +188,18 @@ namespace osu.Game.Modes.Taiko.Scoring totalHits++; // Apply combo changes, must be done before the hit score is added - if (!isTick && judgement.Result == HitResult.Hit) - Combo.Value++; + if (!isTick) + { + switch (judgement.Result) + { + case HitResult.Miss: + Combo.Value = 0; + break; + case HitResult.Hit: + Combo.Value++; + break; + } + } // Apply score changes addHitScore(judgement);