1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 02:42:54 +08:00

Rename variable as suggested

This commit is contained in:
Bartłomiej Dach 2020-10-07 21:06:24 +02:00
parent 6113557acc
commit 7109c3b6cd

View File

@ -67,7 +67,7 @@ namespace osu.Game.Rulesets.Scoring
private readonly double accuracyPortion;
private readonly double comboPortion;
private int maxHighestCombo;
private int maxAchievableCombo;
private double maxBaseScore;
private double rollingMaxBaseScore;
private double baseScore;
@ -195,9 +195,9 @@ namespace osu.Game.Rulesets.Scoring
private double getScore(ScoringMode mode)
{
return GetScore(mode, maxHighestCombo,
return GetScore(mode, maxAchievableCombo,
maxBaseScore > 0 ? baseScore / maxBaseScore : 0,
maxHighestCombo > 0 ? (double)HighestCombo.Value / maxHighestCombo : 1,
maxAchievableCombo > 0 ? (double)HighestCombo.Value / maxAchievableCombo : 1,
scoreResultCounts);
}
@ -265,7 +265,7 @@ namespace osu.Game.Rulesets.Scoring
if (storeResults)
{
maxHighestCombo = HighestCombo.Value;
maxAchievableCombo = HighestCombo.Value;
maxBaseScore = baseScore;
}