mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 05:07:28 +08:00
Fix combo calculations.
This commit is contained in:
parent
d87a65f19e
commit
98630dd06c
@ -188,8 +188,18 @@ namespace osu.Game.Modes.Taiko.Scoring
|
|||||||
totalHits++;
|
totalHits++;
|
||||||
|
|
||||||
// Apply combo changes, must be done before the hit score is added
|
// Apply combo changes, must be done before the hit score is added
|
||||||
if (!isTick && judgement.Result == HitResult.Hit)
|
if (!isTick)
|
||||||
Combo.Value++;
|
{
|
||||||
|
switch (judgement.Result)
|
||||||
|
{
|
||||||
|
case HitResult.Miss:
|
||||||
|
Combo.Value = 0;
|
||||||
|
break;
|
||||||
|
case HitResult.Hit:
|
||||||
|
Combo.Value++;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Apply score changes
|
// Apply score changes
|
||||||
addHitScore(judgement);
|
addHitScore(judgement);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user