mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Basic searching in osu!direct, move BeatmapSetOnlineInfo covers into their own class
This commit is contained in:
@ -98,8 +98,8 @@ namespace osu.Game.Overlays.Direct
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(TextureStore textures)
|
||||
{
|
||||
if (set.OnlineInfo?.Covers.FirstOrDefault() != null)
|
||||
Texture = textures.Get(set.OnlineInfo.Covers.First());
|
||||
if (set.OnlineInfo?.Covers?.Card != null)
|
||||
Texture = textures.Get(set.OnlineInfo.Covers.Card);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user