1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:13:34 +08:00

fix accuracyProcess typo

This commit is contained in:
sometimes 2024-06-20 22:06:00 -04:00 committed by GitHub
parent cd4dce2c7e
commit 89d3f67eb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -369,9 +369,9 @@ namespace osu.Game.Rulesets.Scoring
MaximumAccuracy.Value = maximumBaseScore > 0 ? (currentBaseScore + (maximumBaseScore - currentMaximumBaseScore)) / maximumBaseScore : 1;
double comboProgress = maximumComboPortion > 0 ? currentComboPortion / maximumComboPortion : 1;
double accuracyProcess = maximumAccuracyJudgementCount > 0 ? (double)currentAccuracyJudgementCount / maximumAccuracyJudgementCount : 1;
double accuracyProgress = maximumAccuracyJudgementCount > 0 ? (double)currentAccuracyJudgementCount / maximumAccuracyJudgementCount : 1;
TotalScoreWithoutMods.Value = (long)Math.Round(ComputeTotalScore(comboProgress, accuracyProcess, currentBonusPortion));
TotalScoreWithoutMods.Value = (long)Math.Round(ComputeTotalScore(comboProgress, accuracyProgress, currentBonusPortion));
TotalScore.Value = (long)Math.Round(TotalScoreWithoutMods.Value * scoreMultiplier);
}