Fix nullref.

This commit is contained in:
Dean Herbert
2017-03-17 20:09:23 +09:00
parent 907236e475
commit c7fa79b027

View File

@ -201,7 +201,7 @@ namespace osu.Game.Screens.Select
computeYPositions(); computeYPositions();
if (selectedGroup.State == BeatmapGroupState.Hidden) if (selectedGroup == null || selectedGroup.State == BeatmapGroupState.Hidden)
SelectNext(); SelectNext();
}; };