mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Allow recommender to potentially be null
This commit is contained in:
parent
8cc2ed3fae
commit
df5e1d83bd
@ -118,7 +118,7 @@ namespace osu.Game.Screens.Select
|
||||
BleedBottom = Footer.HEIGHT,
|
||||
SelectionChanged = updateSelectedBeatmap,
|
||||
BeatmapSetsChanged = carouselBeatmapsLoaded,
|
||||
GetRecommendedBeatmap = recommender.GetRecommendedBeatmap,
|
||||
GetRecommendedBeatmap = s => recommender?.GetRecommendedBeatmap(s),
|
||||
}, c => carouselContainer.Child = c);
|
||||
|
||||
AddRangeInternal(new Drawable[]
|
||||
|
Loading…
Reference in New Issue
Block a user