1
0
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:
Dean Herbert 2024-09-18 15:50:55 +09:00
parent aae98e6906
commit c192a6a1d5
No known key found for this signature in database

View File

@ -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;