mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Fix incorrect invocation of download method in SoloSpectator
This commit is contained in:
parent
0ab50f1cc9
commit
0df339d0b8
@ -240,13 +240,10 @@ namespace osu.Game.Screens.Play
|
||||
if (!automaticDownload.Current.Value)
|
||||
return;
|
||||
|
||||
// Used to interact with manager classes that don't support interface types. Will eventually be replaced.
|
||||
var beatmapSetInfo = new BeatmapSetInfo { OnlineBeatmapSetID = beatmapSet.OnlineID };
|
||||
|
||||
if (beatmaps.IsAvailableLocally(beatmapSetInfo))
|
||||
if (beatmaps.IsAvailableLocally(new BeatmapSetInfo { OnlineBeatmapSetID = beatmapSet.OnlineID }))
|
||||
return;
|
||||
|
||||
beatmaps.Download(beatmapSetInfo);
|
||||
beatmaps.Download(beatmapSet);
|
||||
}
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
|
Loading…
Reference in New Issue
Block a user