Rename usages which rely on online backing

This commit is contained in:
Dean Herbert
2021-10-21 16:53:50 +09:00
parent 0706ad70fb
commit 32d01f022f
10 changed files with 32 additions and 32 deletions

View File

@ -54,7 +54,7 @@ namespace osu.Game.Beatmaps.Drawables
{
// prefer online cover where available.
if (model?.BeatmapSet?.OnlineInfo != null)
return new BeatmapSetCover(model.BeatmapSet, beatmapSetCoverType);
return new OnlineBeatmapSetCover(model.BeatmapSet, beatmapSetCoverType);
return model?.ID > 0
? new BeatmapBackgroundSprite(beatmaps.GetWorkingBeatmap(model))