1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 18:47:27 +08:00

Fix unranked beatmap leaderboards showing "no records" placeholder

This commit is contained in:
Joehu 2019-07-04 21:19:51 -07:00
parent 0ec01f7b0f
commit e8168037f9

View File

@ -68,8 +68,12 @@ namespace osu.Game.Screens.Select.Leaderboards
return null; return null;
} }
if (Beatmap?.OnlineBeatmapID == null) switch (Beatmap?.Status)
{ {
case BeatmapSetOnlineStatus.Graveyard:
case BeatmapSetOnlineStatus.None:
case BeatmapSetOnlineStatus.Pending:
case BeatmapSetOnlineStatus.WIP:
PlaceholderState = PlaceholderState.Unavailable; PlaceholderState = PlaceholderState.Unavailable;
return null; return null;
} }