mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
Fix disclaimer potentially pushing a null screen
This commit is contained in:
parent
e5149b4be9
commit
efedfefe63
@ -173,7 +173,11 @@ namespace osu.Game.Screens.Menu
|
||||
.Then(5500)
|
||||
.FadeOut(250)
|
||||
.ScaleTo(0.9f, 250, Easing.InQuint)
|
||||
.Finally(d => this.Push(nextScreen));
|
||||
.Finally(d =>
|
||||
{
|
||||
if (nextScreen != null)
|
||||
this.Push(nextScreen);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user