1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 02:33:02 +08:00

Fix nullref in tests

This commit is contained in:
Dean Herbert 2020-03-05 20:34:24 +09:00
parent 371a543645
commit 332f56a7f8

View File

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