mirror of
https://github.com/ppy/osu
synced 2025-01-20 21:10:49 +00:00
beatmap and line can not be null in OsuLegacyDecoder.cs
This commit is contained in:
parent
2f47b336e2
commit
cf296d4bb2
@ -163,6 +163,11 @@ namespace osu.Game.Beatmaps.Formats
|
||||
|
||||
private void handleMetadata(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