From 5761eb30a04a9fb6095a1b1c936540c3714a8f0d Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 18 Jul 2017 16:06:59 +0900 Subject: [PATCH] Fix nullref error on re-importing a DeletePending beatmap Callback was expecting the beatmap to be populated where it wasn't being. --- osu.Game/Database/BeatmapDatabase.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osu.Game/Database/BeatmapDatabase.cs b/osu.Game/Database/BeatmapDatabase.cs index efd5631077..1a36e7fa0f 100644 --- a/osu.Game/Database/BeatmapDatabase.cs +++ b/osu.Game/Database/BeatmapDatabase.cs @@ -178,6 +178,8 @@ namespace osu.Game.Database if (existing != null) { + GetChildren(existing); + if (existing.DeletePending) { existing.DeletePending = false;