1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Cascade delete metadata when beatmaps are deleted

This commit is contained in:
Dean Herbert 2022-01-12 16:17:11 +09:00
parent 34aa1bf21d
commit e12025dd48

View File

@ -121,6 +121,8 @@ namespace osu.Game.Database
foreach (var score in beatmap.Scores)
realm.Remove(score);
realm.Remove(beatmap.Metadata);
realm.Remove(beatmap);
}