mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Merge branch 'master' into hide-exit-button
# Conflicts: # osu.Game/Screens/Menu/MainMenu.cs
This commit is contained in:
@ -107,7 +107,7 @@ namespace osu.Game.Screens.Menu
|
||||
|
||||
public void LoadToSolo() => Schedule(onSolo);
|
||||
|
||||
private void onSolo() =>this.Push(consumeSongSelect());
|
||||
private void onSolo() => this.Push(consumeSongSelect());
|
||||
|
||||
private Screen consumeSongSelect()
|
||||
{
|
||||
@ -191,7 +191,7 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
base.OnResuming(last);
|
||||
|
||||
((BackgroundScreenDefault)Background).Next();
|
||||
(Background as BackgroundScreenDefault)?.Next();
|
||||
|
||||
//we may have consumed our preloaded instance, so let's make another.
|
||||
preloadSongSelect();
|
||||
@ -208,7 +208,7 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
if (!e.Repeat && e.ControlPressed && e.ShiftPressed && e.Key == Key.D)
|
||||
{
|
||||
this.Push(new Drawings());
|
||||
this.Push(new Drawings());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user