mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 06:42:56 +08:00
Merge pull request #4505 from peppy/fix-random-select-crash
Fix random select crashing
This commit is contained in:
commit
a95b3c8685
@ -327,6 +327,9 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
private void select(CarouselItem item)
|
private void select(CarouselItem item)
|
||||||
{
|
{
|
||||||
|
if (!AllowSelection)
|
||||||
|
return;
|
||||||
|
|
||||||
if (item == null) return;
|
if (item == null) return;
|
||||||
|
|
||||||
item.State.Value = CarouselItemState.Selected;
|
item.State.Value = CarouselItemState.Selected;
|
||||||
|
Loading…
Reference in New Issue
Block a user