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

Fix nullref.

This commit is contained in:
Dean Herbert 2017-03-17 20:09:23 +09:00
parent 907236e475
commit c7fa79b027
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

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