1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 16:19:35 +08:00

Fix local online cache database not being used when offline / logged out

This commit is contained in:
Dean Herbert 2020-07-14 12:02:03 +09:00
parent 8411a36a0f
commit e35e9df4e1

View File

@ -48,9 +48,6 @@ namespace osu.Game.Beatmaps
public Task UpdateAsync(BeatmapSetInfo beatmapSet, CancellationToken cancellationToken)
{
if (api?.State != APIState.Online)
return Task.CompletedTask;
LogForModel(beatmapSet, "Performing online lookups...");
return Task.WhenAll(beatmapSet.Beatmaps.Select(b => UpdateAsync(beatmapSet, b, cancellationToken)).ToArray());
}