mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Move 'transferCollections' to a shared location
This commit is contained in:
@ -330,11 +330,7 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
setInfo.CopyChangesToRealm(liveBeatmapSet);
|
||||
|
||||
foreach (var collection in r.All<BeatmapCollection>())
|
||||
{
|
||||
if (collection.BeatmapMD5Hashes.Remove(oldMd5Hash))
|
||||
collection.BeatmapMD5Hashes.Add(beatmapInfo.MD5Hash);
|
||||
}
|
||||
beatmapInfo.transferCollectionsFrom(r, oldMd5Hash);
|
||||
|
||||
ProcessBeatmap?.Invoke((liveBeatmapSet, false));
|
||||
});
|
||||
|
Reference in New Issue
Block a user