mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 09:02:55 +08:00
Set beatmap of leaderboard to null if NoBeatmapsAvailable is selected
This commit is contained in:
parent
a1c580f27e
commit
1b0123a60c
@ -27,8 +27,8 @@ namespace osu.Game.Screens.Select
|
||||
set
|
||||
{
|
||||
beatmap = value;
|
||||
Leaderboard.Beatmap = beatmap?.BeatmapInfo;
|
||||
Details.Beatmap = beatmap?.BeatmapInfo;
|
||||
Leaderboard.Beatmap = beatmap is NoBeatmapsAvailableWorkingBeatmap ? null : beatmap?.BeatmapInfo;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user