mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 19:32:55 +08:00
Fix difficulty deletion not deleting records from realm
This commit is contained in:
parent
d72a8da295
commit
6876566530
@ -339,6 +339,8 @@ namespace osu.Game.Beatmaps
|
|||||||
|
|
||||||
DeleteFile(setInfo, beatmapInfo.File);
|
DeleteFile(setInfo, beatmapInfo.File);
|
||||||
setInfo.Beatmaps.Remove(beatmapInfo);
|
setInfo.Beatmaps.Remove(beatmapInfo);
|
||||||
|
r.Remove(beatmapInfo.Metadata);
|
||||||
|
r.Remove(beatmapInfo);
|
||||||
|
|
||||||
updateHashAndMarkDirty(setInfo);
|
updateHashAndMarkDirty(setInfo);
|
||||||
workingBeatmapCache.Invalidate(setInfo);
|
workingBeatmapCache.Invalidate(setInfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user