1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:07:33 +08:00

Remove triggerNextRandom from SongSelect

This commit is contained in:
Jack Boswell (boswelja) 2020-06-04 21:09:47 +12:00
parent cb6e473910
commit a40475e6aa

View File

@ -274,7 +274,7 @@ namespace osu.Game.Screens.Select
Footer.AddButton(new FooterButtonMods { Current = Mods }, ModSelect);
Footer.AddButton(new FooterButtonRandom
{
NextRandom = triggerNextRandom,
NextRandom = () => Carousel.SelectNextRandom(),
PreviousRandom = Carousel.SelectPreviousRandom
});
Footer.AddButton(new FooterButtonOptions(), BeatmapOptions);
@ -500,11 +500,6 @@ namespace osu.Game.Screens.Select
}
}
private void triggerNextRandom()
{
Carousel.SelectNextRandom();
}
public override void OnEntering(IScreen last)
{
base.OnEntering(last);