diff --git a/osu.Game/Beatmaps/Legacy/IIsLegacy.cs b/osu.Game/Beatmaps/Legacy/IIsLegacy.cs deleted file mode 100644 index 3babd3e66f..0000000000 --- a/osu.Game/Beatmaps/Legacy/IIsLegacy.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) 2007-2017 ppy Pty Ltd . -// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE - -namespace osu.Game.Beatmaps.Legacy -{ - /// - /// A Beatmap that was loaded from a legacy .osu beatmap file (version <=15). - /// - public interface IIsLegacy - { - } -} diff --git a/osu.Game/Beatmaps/Legacy/LegacyBeatmap.cs b/osu.Game/Beatmaps/Legacy/LegacyBeatmap.cs index d0386e7560..dd40af925a 100644 --- a/osu.Game/Beatmaps/Legacy/LegacyBeatmap.cs +++ b/osu.Game/Beatmaps/Legacy/LegacyBeatmap.cs @@ -6,15 +6,16 @@ namespace osu.Game.Beatmaps.Legacy /// /// A type of Beatmap loaded from a legacy .osu beatmap file (version <=15). /// - internal class LegacyBeatmap : Beatmap, IIsLegacy + public class LegacyBeatmap : Beatmap { /// /// Constructs a new beatmap. /// /// The original beatmap to use the parameters of. - public LegacyBeatmap(Beatmap original = null) + internal LegacyBeatmap(Beatmap original = null) : base(original) { + HitObjects = original?.HitObjects ?? null; } } } diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index c0f11dbcb9..1f14615b62 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -77,7 +77,6 @@ -