BeatmapSetInfo detach support

This commit is contained in:
Dean Herbert
2022-01-07 14:17:22 +09:00
parent de076678fe
commit 8461eaab46
10 changed files with 90 additions and 10 deletions

View File

@ -209,7 +209,7 @@ namespace osu.Game.Collections
string checksum = sr.ReadString();
var beatmap = beatmaps.QueryBeatmap(b => b.MD5Hash == checksum);
var beatmap = beatmaps.QueryBeatmap(b => b.MD5Hash == checksum)?.Detach();
if (beatmap != null)
collection.Beatmaps.Add(beatmap);
}