Fix random select crashing

Closes #3383.
This commit is contained in:
Dean Herbert
2019-03-21 21:02:45 +09:00
parent 6058f994e1
commit 37010f97d7

View File

@ -327,6 +327,9 @@ namespace osu.Game.Screens.Select
private void select(CarouselItem item)
{
if (!AllowSelection)
return;
if (item == null) return;
item.State.Value = CarouselItemState.Selected;