1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 01:43:15 +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)
{
GetChildren(existing);
if (existing.DeletePending)
{
existing.DeletePending = false;