Fix editor saving not updating BeatmapSetInfo's hash

This commit is contained in:
Dean Herbert
2022-07-08 02:31:33 +09:00
parent 0d25b63769
commit c53dd4a703
3 changed files with 5 additions and 1 deletions

View File

@ -316,6 +316,8 @@ namespace osu.Game.Beatmaps
AddFile(setInfo, stream, createBeatmapFilenameFromMetadata(beatmapInfo));
setInfo.Hash = beatmapImporter.ComputeHash(setInfo);
Realm.Write(r =>
{
var liveBeatmapSet = r.Find<BeatmapSetInfo>(setInfo.ID);