1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-22 17:13:20 +08:00

Revert "Fix converters possibly not converting from new-style beatmaps that hold mode-specific objects."

This reverts commit 6821197a6a.
This commit is contained in:
smoogipooo 2017-05-19 17:38:06 +09:00
parent 860b607f45
commit 7b05930fc2
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
{ {
internal class CatchBeatmapConverter : BeatmapConverter<CatchBaseHit> internal class CatchBeatmapConverter : BeatmapConverter<CatchBaseHit>
{ {
protected override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasXPosition), typeof(CatchBaseHit) }; protected override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasXPosition) };
protected override IEnumerable<CatchBaseHit> ConvertHitObject(HitObject original, Beatmap beatmap) protected override IEnumerable<CatchBaseHit> ConvertHitObject(HitObject original, Beatmap beatmap)
{ {

View File

@ -16,7 +16,7 @@ namespace osu.Game.Rulesets.Mania.Beatmaps
{ {
public class ManiaBeatmapConverter : BeatmapConverter<ManiaHitObject> public class ManiaBeatmapConverter : BeatmapConverter<ManiaHitObject>
{ {
protected override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasXPosition), typeof(ManiaHitObject) }; protected override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasXPosition) };
private Pattern lastPattern = new Pattern(); private Pattern lastPattern = new Pattern();
private FastRandom random; private FastRandom random;

View File

@ -15,7 +15,7 @@ namespace osu.Game.Rulesets.Osu.Beatmaps
{ {
internal class OsuBeatmapConverter : BeatmapConverter<OsuHitObject> internal class OsuBeatmapConverter : BeatmapConverter<OsuHitObject>
{ {
protected override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasPosition), typeof(OsuHitObject) }; protected override IEnumerable<Type> ValidConversionTypes { get; } = new[] { typeof(IHasPosition) };
protected override IEnumerable<OsuHitObject> ConvertHitObject(HitObject original, Beatmap beatmap) protected override IEnumerable<OsuHitObject> ConvertHitObject(HitObject original, Beatmap beatmap)
{ {