mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Add back optional online lookups
This commit is contained in:
@ -42,9 +42,11 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
workingBeatmapCache.BeatmapManager = beatmapModelManager;
|
||||
|
||||
var onlineBeatmapLookupCache = new BeatmapOnlineLookupQueue(api, storage);
|
||||
|
||||
beatmapModelManager.PopulateOnlineInformation = onlineBeatmapLookupCache.UpdateAsync;
|
||||
if (performOnlineLookups)
|
||||
{
|
||||
var onlineBeatmapLookupCache = new BeatmapOnlineLookupQueue(api, storage);
|
||||
beatmapModelManager.PopulateOnlineInformation = onlineBeatmapLookupCache.UpdateAsync;
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual WorkingBeatmapCache CreateWorkingBeatmapCache(AudioManager audioManager, IResourceStore<byte[]> resources, IResourceStore<byte[]> storage, WorkingBeatmap defaultBeatmap, GameHost host) =>
|
||||
|
Reference in New Issue
Block a user