1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +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:
Dan Balasescu 2017-12-27 15:01:12 +09:00 committed by GitHub
commit 14cc40f4a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -444,7 +444,7 @@ namespace osu.Game.Screens.Select
{
if (!Beatmap.IsDefault && Beatmap.Value.BeatmapSetInfo?.DeletePending == false)
Carousel.SelectBeatmap(Beatmap.Value.BeatmapInfo);
else
else if (Carousel.SelectedBeatmapSet == null)
Carousel.SelectNextRandom();
}