mirror of https://github.com/ppy/osu
Ensure the background is eventually displayed when `IntroTriangles` suspends
This commit is contained in:
parent
6a21d58325
commit
82806d7aeb
|
@ -93,6 +93,9 @@ public override void OnSuspending(IScreen next)
|
|||
{
|
||||
base.OnSuspending(next);
|
||||
|
||||
// ensure the background is shown, even if the TriangleIntroSequence failed to do so.
|
||||
background.ApplyToBackground(b => b.Show());
|
||||
|
||||
// important as there is a clock attached to a track which will likely be disposed before returning to this screen.
|
||||
intro.Expire();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue