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