mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:42:56 +08:00
Don't attempt to load content when not online
This commit is contained in:
parent
899d708dac
commit
3113eefcf6
@ -184,7 +184,7 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
|
||||
// for now, let's early abort if an OnlineBeatmapID is not present (should have been populated at import time).
|
||||
if (Beatmap?.OnlineBeatmapID == null)
|
||||
if (Beatmap?.OnlineBeatmapID == null || api.State.Value == APIState.Offline)
|
||||
{
|
||||
updateMetrics();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user