mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
fix CI error
This commit is contained in:
parent
999386497a
commit
bbb741245e
@ -14,7 +14,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
|
||||
/// <summary>
|
||||
/// The definitions for each stage in a <see cref="ManiaPlayfield"/>.
|
||||
/// </summary>
|
||||
public readonly List<StageDefinition> Stages = new List<StageDefinition>();
|
||||
public readonly List<StageDefinition> Stages;
|
||||
|
||||
/// <summary>
|
||||
/// Total number of columns represented by all stages in this <see cref="ManiaBeatmap"/>.
|
||||
@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="ManiaBeatmap"/>.
|
||||
/// </summary>
|
||||
/// <param name="initialStage">The initial stage.</param>
|
||||
/// <param name="stages">The initial stages.</param>
|
||||
public ManiaBeatmap(List<StageDefinition> stages)
|
||||
{
|
||||
Stages = stages;
|
||||
|
@ -69,8 +69,8 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
|
||||
|
||||
protected override Beatmap<ManiaHitObject> CreateBeatmap()
|
||||
{
|
||||
if(StageDefinitions==null)
|
||||
StageDefinitions=new List<StageDefinition>()
|
||||
if (StageDefinitions == null)
|
||||
StageDefinitions = new List<StageDefinition>
|
||||
{
|
||||
new StageDefinition { Columns = TargetColumns }
|
||||
};
|
||||
|
@ -27,10 +27,10 @@ namespace osu.Game.Rulesets.Mania.Mods
|
||||
|
||||
int originTargetColumns = mbc.TargetColumns;
|
||||
|
||||
var newStages = new List<StageDefinition>()
|
||||
var newStages = new List<StageDefinition>
|
||||
{
|
||||
new StageDefinition() { Columns = originTargetColumns },
|
||||
new StageDefinition() { Columns = originTargetColumns },
|
||||
new StageDefinition { Columns = originTargetColumns },
|
||||
new StageDefinition { Columns = originTargetColumns },
|
||||
};
|
||||
|
||||
mbc.StageDefinitions = newStages;
|
||||
|
Loading…
Reference in New Issue
Block a user