1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

IsDuel -> Dual

This commit is contained in:
andy840119 2019-02-28 23:40:03 +09:00
parent 0e30bf902d
commit e634475bf4
2 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
protected override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasXPosition) };
public int TargetColumns;
public bool IsDuel;
public bool Dual;
public readonly bool IsForCurrentRuleset;
// Internal for testing purposes
@ -51,7 +51,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
if (TargetColumns >= 10)
{
TargetColumns = TargetColumns / 2;
IsDuel = true;
Dual = true;
}
}
else
@ -82,7 +82,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
{
beatmap = new ManiaBeatmap(new StageDefinition { Columns = TargetColumns });
if(IsDuel)
if(Dual)
beatmap.Stages.Add(new StageDefinition { Columns = TargetColumns });
return beatmap;

View File

@ -27,7 +27,7 @@ namespace osu.Game.Rulesets.Mania.Mods
if (isForCurrentRuleset)
return;
mbc.IsDuel = true;
mbc.Dual = true;
}
public PlayfieldType PlayfieldType => PlayfieldType.Dual;