diff --git a/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs b/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs index 7dce625a8e..e988498093 100644 --- a/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs +++ b/osu.Game/Beatmaps/Formats/OsuLegacyDecoder.cs @@ -270,7 +270,9 @@ protected override Beatmap ParseFile(TextReader stream) handleColours(beatmap, key, val); break; case Section.HitObjects: - beatmap.HitObjects.Add(HitObject.Parse(beatmap.BeatmapInfo.Mode, val)); + var h = HitObject.Parse(beatmap.BeatmapInfo.Mode, val); + if (h != null) + beatmap.HitObjects.Add(h); break; } }