From aa81397df4d0de132693fc7b68e7f922a19b32eb Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 27 Jul 2017 12:41:34 +0900 Subject: [PATCH] Recursively retrieve files --- osu.Game/Beatmaps/BeatmapSetInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Beatmaps/BeatmapSetInfo.cs b/osu.Game/Beatmaps/BeatmapSetInfo.cs index 6a466fb3b2..a99ba94e9a 100644 --- a/osu.Game/Beatmaps/BeatmapSetInfo.cs +++ b/osu.Game/Beatmaps/BeatmapSetInfo.cs @@ -37,7 +37,7 @@ namespace osu.Game.Beatmaps public string StoryboardFile => Files.FirstOrDefault(f => f.Filename.EndsWith(".osb"))?.Filename; - [ManyToMany(typeof(BeatmapSetFileInfo))] + [ManyToMany(typeof(BeatmapSetFileInfo), CascadeOperations = CascadeOperation.CascadeRead)] public List Files { get; set; } public bool Protected { get; set; }