1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 15:27:24 +08:00

Fix mania-specific beatmap conversion

This commit is contained in:
smoogipoo 2018-05-07 09:17:12 +09:00
parent 03a5df84c6
commit f3aa9269ff
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
var roundedCircleSize = Math.Round(beatmap.BeatmapInfo.BaseDifficulty.CircleSize);
var roundedOverallDifficulty = Math.Round(beatmap.BeatmapInfo.BaseDifficulty.OverallDifficulty);
if (beatmap.BeatmapInfo.Ruleset == new ManiaRuleset().RulesetInfo)
if (IsForCurrentRuleset)
TargetColumns = (int)Math.Max(1, roundedCircleSize);
else
{

View File

@ -118,7 +118,8 @@ namespace osu.Game.Rulesets
Name = Description,
ShortName = ShortName,
InstantiationInfo = GetType().AssemblyQualifiedName,
ID = LegacyID
ID = LegacyID,
Available = true
};
}
}