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:
parent
0ec01f7b0f
commit
e8168037f9
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user