mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 20:32:55 +08:00
Also reset LocalUserPlaying in OnSuspending
This commit is contained in:
parent
7fff762dfc
commit
485bd962c7
@ -666,6 +666,9 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
screenSuspension?.Expire();
|
screenSuspension?.Expire();
|
||||||
|
|
||||||
|
// Ensure we reset the LocalUserPlaying state
|
||||||
|
localUserPlaying.Value = false;
|
||||||
|
|
||||||
fadeOut();
|
fadeOut();
|
||||||
base.OnSuspending(next);
|
base.OnSuspending(next);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user