1
0
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:
Dean Herbert 2022-01-30 21:32:39 +09:00
parent 6a21d58325
commit 82806d7aeb

View File

@ -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();
}