mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 23:42:54 +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