1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 14:07:25 +08:00

Avoid errors being logged when importing beatmaps while logged out

This commit is contained in:
Dean Herbert 2018-06-15 17:15:04 +09:00
parent 87d69b93a6
commit 5d105cd08d

View File

@ -390,6 +390,9 @@ namespace osu.Game.Beatmaps
if (!force && beatmap.OnlineBeatmapID != null && beatmap.BeatmapSet.OnlineBeatmapSetID != null)
return true;
if (api.State != APIState.Online)
return false;
Logger.Log("Attempting online lookup for IDs...", LoggingTarget.Database);
try