1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 05:30:11 +08:00

stream can not be null in BeatmapDecoder.cs

This commit is contained in:
Miterosan
2017-11-07 23:12:30 +01:00
Unverified
parent 8dc24a52a7
commit a8acea9cdb
@@ -18,6 +18,9 @@ namespace osu.Game.Beatmaps.Formats
public static BeatmapDecoder GetDecoder(StreamReader stream)
{
if (stream == null)
throw new ArgumentNullException(nameof(stream));
string line;
do { line = stream.ReadLine()?.Trim(); }
while (line != null && line.Length == 0);