From c8f9354327eb25020241c07f456fbfab204d8884 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 9 May 2019 15:13:35 +0900 Subject: [PATCH] Remove incorrect deletion include This was causing deletions of scores without considering that scores are now managed by a ScoreManager (and have their own data dependencies). --- osu.Game/Beatmaps/BeatmapStore.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/osu.Game/Beatmaps/BeatmapStore.cs b/osu.Game/Beatmaps/BeatmapStore.cs index f4b7b1d74f..a2279fdb14 100644 --- a/osu.Game/Beatmaps/BeatmapStore.cs +++ b/osu.Game/Beatmaps/BeatmapStore.cs @@ -65,7 +65,6 @@ public bool Restore(BeatmapInfo beatmap) protected override IQueryable AddIncludesForDeletion(IQueryable query) => base.AddIncludesForDeletion(query) .Include(s => s.Metadata) - .Include(s => s.Beatmaps).ThenInclude(b => b.Scores) .Include(s => s.Beatmaps).ThenInclude(b => b.BaseDifficulty) .Include(s => s.Beatmaps).ThenInclude(b => b.Metadata);