From c7fa79b027528c1a98829eb4dcfe2d7671af36d4 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 17 Mar 2017 20:09:23 +0900 Subject: [PATCH] Fix nullref. --- osu.Game/Screens/Select/BeatmapCarousel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Select/BeatmapCarousel.cs b/osu.Game/Screens/Select/BeatmapCarousel.cs index 20ebfb3837..b7405074ff 100644 --- a/osu.Game/Screens/Select/BeatmapCarousel.cs +++ b/osu.Game/Screens/Select/BeatmapCarousel.cs @@ -201,7 +201,7 @@ namespace osu.Game.Screens.Select computeYPositions(); - if (selectedGroup.State == BeatmapGroupState.Hidden) + if (selectedGroup == null || selectedGroup.State == BeatmapGroupState.Hidden) SelectNext(); };