1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 19:13:20 +08:00

Merge pull request #4505 from peppy/fix-random-select-crash

Fix random select crashing
This commit is contained in:
Dan Balasescu 2019-03-22 14:36:20 +09:00 committed by GitHub
commit a95b3c8685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;