mirror of
https://github.com/ppy/osu.git
synced 2024-09-21 15:27:24 +08:00
fixed CI
This commit is contained in:
parent
29bf1637b9
commit
b1b782a26b
@ -294,7 +294,7 @@ namespace osu.Game.Rulesets.Difficulty
|
||||
/// <summary>
|
||||
/// Used to calculate timed difficulty attributes, where only a subset of hitobjects should be visible at any point in time.
|
||||
/// </summary>
|
||||
protected class ProgressiveCalculationBeatmap : IBeatmap
|
||||
private class ProgressiveCalculationBeatmap : IBeatmap
|
||||
{
|
||||
private readonly IBeatmap baseBeatmap;
|
||||
|
||||
@ -317,15 +317,15 @@ namespace osu.Game.Rulesets.Difficulty
|
||||
hitObjectsCounts[objectType]++;
|
||||
|
||||
addCombo(hitObject);
|
||||
}
|
||||
|
||||
void addCombo(HitObject hitObject)
|
||||
private void addCombo(HitObject hitObject)
|
||||
{
|
||||
if (hitObject.Judgement.MaxResult.AffectsCombo())
|
||||
maxCombo++;
|
||||
|
||||
foreach (var nested in hitObject.NestedHitObjects)
|
||||
addCombo(nested);
|
||||
};
|
||||
}
|
||||
|
||||
private readonly List<HitObject> hitObjects = new List<HitObject>();
|
||||
|
Loading…
Reference in New Issue
Block a user