mirror of
https://github.com/ppy/osu
synced 2025-03-05 10:58:34 +00:00
beatmap and stream can not be null in OsuLegacyDecoder.cs
This commit is contained in:
parent
1e6f1d07d2
commit
13e75780d7
@ -644,6 +644,11 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
protected override void ParseFile(StreamReader stream, Beatmap beatmap)
|
||||
{
|
||||
if (beatmap == null)
|
||||
throw new ArgumentNullException(nameof(beatmap));
|
||||
if (stream == null)
|
||||
throw new ArgumentNullException(nameof(stream));
|
||||
|
||||
beatmap.BeatmapInfo.BeatmapVersion = beatmapVersion;
|
||||
|
||||
Section section = Section.None;
|
||||
|
Loading…
Reference in New Issue
Block a user