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

Remove unused code

This commit is contained in:
Dean Herbert 2023-06-23 14:47:32 +09:00
parent 6df617d536
commit 20aedc82ac

View File

@ -157,19 +157,8 @@ namespace osu.Game.Screens.Menu
preloadSongSelect();
}
[Resolved(canBeNull: true)]
private IPerformFromScreenRunner performer { get; set; }
public void ReturnToOsuLogo() => Buttons.State = ButtonSystemState.Initial;
private void confirmAndExit()
{
if (exitConfirmedViaDialog) return;
exitConfirmedViaDialog = true;
performer?.PerformFromScreen(menu => menu.Exit());
}
private void preloadSongSelect()
{
if (songSelect == null)