mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Fix song select crashes due to attempting to clear selection after load has already begun
This commit is contained in:
parent
aae98e6906
commit
c192a6a1d5
@ -1036,7 +1036,7 @@ namespace osu.Game.Screens.Select
|
||||
itemsCache.Validate();
|
||||
|
||||
// update and let external consumers know about selection loss.
|
||||
if (BeatmapSetsLoaded)
|
||||
if (BeatmapSetsLoaded && AllowSelection)
|
||||
{
|
||||
bool selectionLost = selectedBeatmapSet != null && selectedBeatmapSet.State.Value != CarouselItemState.Selected;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user