mirror of https://github.com/ppy/osu
Show retrieval failure when OnlineBeatmapID is missing
This commit is contained in:
parent
85dee3abac
commit
2ff351c6cb
|
@ -191,7 +191,14 @@ protected virtual void UpdateScores()
|
|||
|
||||
Scores = null;
|
||||
|
||||
if (api == null || Beatmap?.OnlineBeatmapID == null) return;
|
||||
if (api == null || Beatmap?.OnlineBeatmapID == null)
|
||||
{
|
||||
replacePlaceholder(new RetrievalFailurePlaceholder
|
||||
{
|
||||
OnRetry = UpdateScores,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
loading.Show();
|
||||
|
||||
|
|
Loading…
Reference in New Issue