1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 12:22:57 +08:00

Fix nullref error on re-importing a DeletePending beatmap

Callback was expecting the beatmap to be populated where it wasn't being.
This commit is contained in:
Dean Herbert 2017-07-18 16:06:59 +09:00
parent 11ddded6fc
commit 5761eb30a0

View File

@ -178,6 +178,8 @@ namespace osu.Game.Database
if (existing != null) if (existing != null)
{ {
GetChildren(existing);
if (existing.DeletePending) if (existing.DeletePending)
{ {
existing.DeletePending = false; existing.DeletePending = false;