mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:35:35 +08:00
Merge pull request #1774 from peppy/fix-multiple-random-selects
Fix random selection happening more than once on quick imports
This commit is contained in:
commit
14cc40f4a1
@ -444,7 +444,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
if (!Beatmap.IsDefault && Beatmap.Value.BeatmapSetInfo?.DeletePending == false)
|
if (!Beatmap.IsDefault && Beatmap.Value.BeatmapSetInfo?.DeletePending == false)
|
||||||
Carousel.SelectBeatmap(Beatmap.Value.BeatmapInfo);
|
Carousel.SelectBeatmap(Beatmap.Value.BeatmapInfo);
|
||||||
else
|
else if (Carousel.SelectedBeatmapSet == null)
|
||||||
Carousel.SelectNextRandom();
|
Carousel.SelectNextRandom();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user