1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 06:29:52 +08:00

Set random beatmap on entering song select

This commit is contained in:
Dean Herbert
2025-05-28 16:48:41 +09:00
Unverified
parent 1b56ce9a39
commit f602bdeb2f
+4 -1
View File
@@ -425,7 +425,10 @@ namespace osu.Game.Screens.SelectV2
// force reselection if entering song select with a protected beatmap
if (Beatmap.Value.BeatmapInfo.BeatmapSet!.Protected)
Beatmap.SetDefault();
{
if (!carousel.NextRandom())
Beatmap.SetDefault();
}
else
updateSelection();
}