1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 06:42:54 +08:00

Fix bonusScore being stored locally instead of incrementally changing

This commit is contained in:
smoogipoo 2017-11-02 19:31:30 +09:00
parent 012a81a52e
commit f219b7f9fb

View File

@ -174,6 +174,7 @@ namespace osu.Game.Rulesets.Scoring
private double maxBaseScore;
private double rollingMaxBaseScore;
private double baseScore;
private double bonusScore;
protected ScoreProcessor()
{
@ -219,7 +220,6 @@ namespace osu.Game.Rulesets.Scoring
protected virtual void OnNewJudgement(Judgement judgement)
{
double bonusScore = 0;
if (judgement.AffectsCombo)
{
@ -271,6 +271,7 @@ namespace osu.Game.Rulesets.Scoring
Hits = 0;
baseScore = 0;
rollingMaxBaseScore = 0;
bonusScore = 0;
}
}