1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:02:55 +08:00

Fix Beatmap overlay trying to fetch scores even if beatmap has… (#5626)

Fix Beatmap overlay trying to fetch scores even if beatmap has no leaderboard
This commit is contained in:
Dean Herbert 2019-08-07 14:14:35 +09:00 committed by GitHub
commit 6b1132c5ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Scores = null;
if (beatmap?.OnlineBeatmapID.HasValue != true)
if (beatmap?.OnlineBeatmapID.HasValue != true || beatmap.Status <= BeatmapSetOnlineStatus.Pending)
return;
loadingAnimation.Show();