1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 05:52:54 +08:00

Also reset LocalUserPlaying in OnSuspending

This commit is contained in:
Shane Woolcock 2020-10-07 16:15:17 +10:30
parent 7fff762dfc
commit 485bd962c7

View File

@ -666,6 +666,9 @@ namespace osu.Game.Screens.Play
{
screenSuspension?.Expire();
// Ensure we reset the LocalUserPlaying state
localUserPlaying.Value = false;
fadeOut();
base.OnSuspending(next);
}