mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 18:23:04 +08:00
Invert order of operations
This commit is contained in:
parent
035d0d5c9c
commit
4d14467d95
@ -29,15 +29,15 @@ namespace osu.Game.Rulesets.Taiko.Scoring
|
||||
protected override void AddScoreChange(JudgementResult result)
|
||||
{
|
||||
var change = computeScoreChange(result);
|
||||
BonusPortion += change.bonus;
|
||||
ComboPortion += change.combo;
|
||||
BonusPortion += change.bonus;
|
||||
}
|
||||
|
||||
protected override void RemoveScoreChange(JudgementResult result)
|
||||
{
|
||||
var change = computeScoreChange(result);
|
||||
BonusPortion -= change.bonus;
|
||||
ComboPortion -= change.combo;
|
||||
BonusPortion -= change.bonus;
|
||||
}
|
||||
|
||||
private (double combo, double bonus) computeScoreChange(JudgementResult result)
|
||||
|
Loading…
Reference in New Issue
Block a user