mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 05:57:19 +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++;
|
||||
|
||||
// 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user