mirror of
https://github.com/osukey/osukey.git
synced 2025-05-19 20:47:24 +09:00
Fix bonusScore being stored locally instead of incrementally changing
This commit is contained in:
parent
012a81a52e
commit
f219b7f9fb
@ -174,6 +174,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
private double maxBaseScore;
|
private double maxBaseScore;
|
||||||
private double rollingMaxBaseScore;
|
private double rollingMaxBaseScore;
|
||||||
private double baseScore;
|
private double baseScore;
|
||||||
|
private double bonusScore;
|
||||||
|
|
||||||
protected ScoreProcessor()
|
protected ScoreProcessor()
|
||||||
{
|
{
|
||||||
@ -219,7 +220,6 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
|
|
||||||
protected virtual void OnNewJudgement(Judgement judgement)
|
protected virtual void OnNewJudgement(Judgement judgement)
|
||||||
{
|
{
|
||||||
double bonusScore = 0;
|
|
||||||
|
|
||||||
if (judgement.AffectsCombo)
|
if (judgement.AffectsCombo)
|
||||||
{
|
{
|
||||||
@ -271,6 +271,7 @@ namespace osu.Game.Rulesets.Scoring
|
|||||||
Hits = 0;
|
Hits = 0;
|
||||||
baseScore = 0;
|
baseScore = 0;
|
||||||
rollingMaxBaseScore = 0;
|
rollingMaxBaseScore = 0;
|
||||||
|
bonusScore = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user