1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

Remove redundant conditional access

This commit is contained in:
Bartłomiej Dach 2024-05-03 08:11:00 +02:00
parent c1e9b6d4ca
commit d1a50ff85b
No known key found for this signature in database

View File

@ -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)