mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Ensure the background is eventually displayed when IntroTriangles
suspends
This commit is contained in:
parent
6a21d58325
commit
82806d7aeb
@ -93,6 +93,9 @@ namespace osu.Game.Screens.Menu
|
||||
{
|
||||
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
Block a user