mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:43:21 +08:00
Fix nullref in tests
This commit is contained in:
parent
371a543645
commit
332f56a7f8
@ -25,7 +25,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
{
|
||||
base.Filter(criteria);
|
||||
|
||||
if (Beatmap.BeatmapSet.Equals(criteria.SelectedBeatmapSet))
|
||||
if (Beatmap.BeatmapSet?.Equals(criteria.SelectedBeatmapSet) == true)
|
||||
{
|
||||
// bypass filtering for selected beatmap
|
||||
Filtered.Value = false;
|
||||
|
Loading…
Reference in New Issue
Block a user