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>
|
/// <summary>
|
||||||
/// Used to calculate timed difficulty attributes, where only a subset of hitobjects should be visible at any point in time.
|
/// Used to calculate timed difficulty attributes, where only a subset of hitobjects should be visible at any point in time.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected class ProgressiveCalculationBeatmap : IBeatmap
|
private class ProgressiveCalculationBeatmap : IBeatmap
|
||||||
{
|
{
|
||||||
private readonly IBeatmap baseBeatmap;
|
private readonly IBeatmap baseBeatmap;
|
||||||
|
|
||||||
@ -317,15 +317,15 @@ namespace osu.Game.Rulesets.Difficulty
|
|||||||
hitObjectsCounts[objectType]++;
|
hitObjectsCounts[objectType]++;
|
||||||
|
|
||||||
addCombo(hitObject);
|
addCombo(hitObject);
|
||||||
|
}
|
||||||
|
|
||||||
void addCombo(HitObject hitObject)
|
private void addCombo(HitObject hitObject)
|
||||||
{
|
{
|
||||||
if (hitObject.Judgement.MaxResult.AffectsCombo())
|
if (hitObject.Judgement.MaxResult.AffectsCombo())
|
||||||
maxCombo++;
|
maxCombo++;
|
||||||
|
|
||||||
foreach (var nested in hitObject.NestedHitObjects)
|
foreach (var nested in hitObject.NestedHitObjects)
|
||||||
addCombo(nested);
|
addCombo(nested);
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private readonly List<HitObject> hitObjects = new List<HitObject>();
|
private readonly List<HitObject> hitObjects = new List<HitObject>();
|
||||||
|
Loading…
Reference in New Issue
Block a user