mirror of
https://github.com/ppy/osu
synced 2025-02-16 10:07:11 +00:00
Fix double restart call still existing
This commit is contained in:
parent
eea3ff8a59
commit
67791a1f35
@ -719,9 +719,14 @@ namespace osu.Game.Screens.Play
|
||||
// stopping here is to ensure music doesn't become audible after exiting back to PlayerLoader.
|
||||
musicController.Stop();
|
||||
|
||||
RestartRequested?.Invoke(quickRestart);
|
||||
if (RestartRequested != null)
|
||||
{
|
||||
skipExitTransition = quickRestart;
|
||||
RestartRequested?.Invoke(quickRestart);
|
||||
return true;
|
||||
}
|
||||
|
||||
return PerformExit(skipTransition: quickRestart);
|
||||
return PerformExit(quickRestart);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user