1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 02:29:54 +08:00

Fix double restart call still existing

This commit is contained in:
Dean Herbert
2024-11-14 23:59:55 +09:00
Unverified
parent 5d3f55fe4d
commit 1a31e56d4a
+7 -2
View File
@@ -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>