mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
beatmap and line can not be null in OsuLegacyDecoder.cs
This commit is contained in:
@ -134,6 +134,11 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
private void handleEditor(Beatmap beatmap, string line)
|
||||
{
|
||||
if (beatmap == null)
|
||||
throw new ArgumentNullException(nameof(beatmap));
|
||||
if (line == null)
|
||||
throw new ArgumentNullException(nameof(line));
|
||||
|
||||
var pair = splitKeyVal(line, ':');
|
||||
|
||||
switch (pair.Key)
|
||||
|
Reference in New Issue
Block a user