1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

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;