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:
parent
cb6e473910
commit
a40475e6aa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user