Remove IBeatmapSetOnlineInfo implementation from BeatmapSetInfo to avoid null cases

This commit is contained in:
Dean Herbert
2021-10-28 00:13:25 +09:00
parent f268363924
commit 7245baba69
10 changed files with 19 additions and 14 deletions

View File

@ -227,7 +227,7 @@ namespace osu.Game.Overlays.BeatmapSet
BeatmapSet.BindValueChanged(setInfo =>
{
Picker.BeatmapSet = rulesetSelector.BeatmapSet = author.BeatmapSet = beatmapAvailability.BeatmapSet = Details.BeatmapSet = setInfo.NewValue;
cover.BeatmapSet = setInfo.NewValue;
cover.OnlineInfo = setInfo.NewValue?.OnlineInfo;
if (setInfo.NewValue == null)
{