Fix beatmap set to null after exiting song select

This commit is contained in:
Dan Balasescu 2022-09-07 21:22:26 +09:00
parent fcea244537
commit 83c0cb1acc

View File

@ -433,6 +433,9 @@ namespace osu.Game.Screens.OnlinePlay.Match
private void updateWorkingBeatmap()
{
if (SelectedItem.Value == null || !this.IsCurrentScreen())
return;
var beatmap = SelectedItem.Value?.Beatmap;
// Retrieve the corresponding local beatmap, since we can't directly use the playlist's beatmap info