1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:42:58 +08:00

line can not be null in OsuLegacyDecoder.cs

This commit is contained in:
Miterosan 2017-11-07 23:17:26 +01:00
parent 13e75780d7
commit b2e49c1e71

View File

@ -725,6 +725,9 @@ namespace osu.Game.Beatmaps.Formats
private KeyValuePair<string, string> splitKeyVal(string line, char separator)
{
if (line == null)
throw new ArgumentNullException(nameof(line));
var split = line.Trim().Split(new[] { separator }, 2);
return new KeyValuePair<string, string>