Merge pull request #4719 from smoogipoo/fix-import-crash

Fix beatmap import crashing during room creation
This commit is contained in:
Dan Balasescu 2019-05-07 12:39:53 +09:00 committed by GitHub
commit 14f09ab914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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