mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +00:00
Fix beatmap set to null after exiting song select
This commit is contained in:
parent
fcea244537
commit
83c0cb1acc
@ -433,6 +433,9 @@ namespace osu.Game.Screens.OnlinePlay.Match
|
|||||||
|
|
||||||
private void updateWorkingBeatmap()
|
private void updateWorkingBeatmap()
|
||||||
{
|
{
|
||||||
|
if (SelectedItem.Value == null || !this.IsCurrentScreen())
|
||||||
|
return;
|
||||||
|
|
||||||
var beatmap = SelectedItem.Value?.Beatmap;
|
var beatmap = SelectedItem.Value?.Beatmap;
|
||||||
|
|
||||||
// Retrieve the corresponding local beatmap, since we can't directly use the playlist's beatmap info
|
// Retrieve the corresponding local beatmap, since we can't directly use the playlist's beatmap info
|
||||||
|
Loading…
Reference in New Issue
Block a user