1
0
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:
ANDY840119-PC\andy840119 2018-01-14 21:51:07 +09:00
parent 999386497a
commit bbb741245e
3 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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 }
};

View File

@ -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;