mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Ensure the background is eventually displayed when IntroTriangles
suspends
This commit is contained in:
@ -93,6 +93,9 @@ namespace osu.Game.Screens.Menu
|
|||||||
{
|
{
|
||||||
base.OnSuspending(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.
|
// important as there is a clock attached to a track which will likely be disposed before returning to this screen.
|
||||||
intro.Expire();
|
intro.Expire();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user