mirror of
https://github.com/ppy/osu
synced 2025-03-06 03:19:47 +00:00
beatmap and line can not be null in OsuLegacyDecoder.cs
This commit is contained in:
parent
840946d160
commit
1f620886cb
@ -70,6 +70,11 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
private void handleGeneral(Beatmap beatmap, string line)
|
||||
{
|
||||
if (beatmap == null)
|
||||
throw new ArgumentNullException(nameof(beatmap));
|
||||
if (line == null)
|
||||
throw new ArgumentNullException(nameof(line));
|
||||
|
||||
var pair = splitKeyVal(line, ':');
|
||||
|
||||
var metadata = beatmap.BeatmapInfo.Metadata;
|
||||
|
Loading…
Reference in New Issue
Block a user