From d8275c4f9ba8fb0e1cb94ad502626611832074c8 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Tue, 16 Jan 2018 18:20:46 +0900 Subject: [PATCH] Fix beatmap query not including beatmap files --- osu.Game/Beatmaps/BeatmapStore.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Beatmaps/BeatmapStore.cs b/osu.Game/Beatmaps/BeatmapStore.cs index 02564489ad..df71c5c0d0 100644 --- a/osu.Game/Beatmaps/BeatmapStore.cs +++ b/osu.Game/Beatmaps/BeatmapStore.cs @@ -156,6 +156,7 @@ public override void Cleanup() public IQueryable Beatmaps => GetContext().BeatmapInfo .Include(b => b.BeatmapSet).ThenInclude(s => s.Metadata) + .Include(b => b.BeatmapSet).ThenInclude(s => s.Files).ThenInclude(f => f.FileInfo) .Include(b => b.Metadata) .Include(b => b.Ruleset) .Include(b => b.BaseDifficulty);