1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Set restart count

This commit is contained in:
Dean Herbert 2018-07-18 22:05:24 +09:00
parent c2cdf12986
commit a01361f833

View File

@ -162,6 +162,7 @@ namespace osu.Game.Screens.Play
{
pauseContainer = new PauseContainer(offsetClock, adjustableClock)
{
Retries = RestartCount,
OnRetry = Restart,
OnQuit = Exit,
CheckCanPause = () => AllowPause && ValidForResume && !HasFailed && !RulesetContainer.HasReplayLoaded,