1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Fix beatmap import crashing during room creation

This commit is contained in:
smoogipoo 2019-05-07 12:14:57 +09:00
parent 437d7a5cf3
commit f26a1cff6c

View File

@ -206,7 +206,7 @@ namespace osu.Game.Screens.Multi.Match
if (Beatmap.Value != beatmapManager.DefaultBeatmap)
return;
if (Beatmap.Value == null)
if (CurrentItem.Value == null)
return;
// Try to retrieve the corresponding local beatmap