mirror of
https://github.com/ppy/osu.git
synced 2025-03-15 22:37:21 +08:00
Show retrieval failure when OnlineBeatmapID is missing
This commit is contained in:
parent
85dee3abac
commit
2ff351c6cb
@ -191,7 +191,14 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
|
||||
Scores = null;
|
||||
|
||||
if (api == null || Beatmap?.OnlineBeatmapID == null) return;
|
||||
if (api == null || Beatmap?.OnlineBeatmapID == null)
|
||||
{
|
||||
replacePlaceholder(new RetrievalFailurePlaceholder
|
||||
{
|
||||
OnRetry = UpdateScores,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
loading.Show();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user