mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Remove unused cancellationToken
parameter in synchronous BeatmapOnlineLookupQueue
flow
This commit is contained in:
parent
9b33fbbee5
commit
8424d86e9a
@ -54,7 +54,7 @@ namespace osu.Game.Beatmaps
|
||||
prepareLocalCache();
|
||||
}
|
||||
|
||||
public void Update(BeatmapSetInfo beatmapSet, CancellationToken cancellationToken)
|
||||
public void Update(BeatmapSetInfo beatmapSet)
|
||||
{
|
||||
foreach (var b in beatmapSet.Beatmaps)
|
||||
lookup(beatmapSet, b);
|
||||
|
@ -71,7 +71,7 @@ namespace osu.Game.Stores
|
||||
|
||||
bool hadOnlineIDs = beatmapSet.Beatmaps.Any(b => b.OnlineID > 0);
|
||||
|
||||
onlineLookupQueue?.Update(beatmapSet, cancellationToken);
|
||||
onlineLookupQueue?.Update(beatmapSet);
|
||||
|
||||
// ensure at least one beatmap was able to retrieve or keep an online ID, else drop the set ID.
|
||||
if (hadOnlineIDs && !beatmapSet.Beatmaps.Any(b => b.OnlineID > 0))
|
||||
|
Loading…
Reference in New Issue
Block a user