1
0
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:
iiSaLMaN 2019-09-05 05:56:52 +03:00
parent a1c580f27e
commit 1b0123a60c

View File

@ -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;
}
}