mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Merge remote-tracking branch 'upstream/master' into back-button-part-2
This commit is contained in:
@ -88,7 +88,8 @@ namespace osu.Game
|
||||
private OsuLogo osuLogo;
|
||||
|
||||
private MainMenu menuScreen;
|
||||
private Intro introScreen;
|
||||
|
||||
private IntroScreen introScreen;
|
||||
|
||||
private Bindable<int> configRuleset;
|
||||
|
||||
@ -764,7 +765,7 @@ namespace osu.Game
|
||||
if (introScreen == null)
|
||||
return true;
|
||||
|
||||
if (!introScreen.DidLoadMenu || !(ScreenStack.CurrentScreen is Intro))
|
||||
if (!introScreen.DidLoadMenu || !(screenStack.CurrentScreen is IntroScreen))
|
||||
{
|
||||
Scheduler.Add(introScreen.MakeCurrent);
|
||||
return true;
|
||||
@ -799,7 +800,7 @@ namespace osu.Game
|
||||
{
|
||||
switch (newScreen)
|
||||
{
|
||||
case Intro intro:
|
||||
case IntroScreen intro:
|
||||
introScreen = intro;
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user