mirror of
https://github.com/ppy/osu.git
synced 2026-05-29 04:49:58 +08:00
Remove redundant conditional access
This commit is contained in:
@@ -56,7 +56,7 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
return Empty();
|
||||
|
||||
// prefer online cover where available.
|
||||
if (model?.BeatmapSet is IBeatmapSetOnlineInfo online)
|
||||
if (model.BeatmapSet is IBeatmapSetOnlineInfo online)
|
||||
return new OnlineBeatmapSetCover(online, beatmapSetCoverType);
|
||||
|
||||
if (model is BeatmapInfo localModel)
|
||||
|
||||
Reference in New Issue
Block a user