mirror of
https://github.com/ppy/osu.git
synced 2025-02-06 04:12:55 +08:00
Set restart count
This commit is contained in:
parent
c2cdf12986
commit
a01361f833
@ -162,6 +162,7 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
pauseContainer = new PauseContainer(offsetClock, adjustableClock)
|
pauseContainer = new PauseContainer(offsetClock, adjustableClock)
|
||||||
{
|
{
|
||||||
|
Retries = RestartCount,
|
||||||
OnRetry = Restart,
|
OnRetry = Restart,
|
||||||
OnQuit = Exit,
|
OnQuit = Exit,
|
||||||
CheckCanPause = () => AllowPause && ValidForResume && !HasFailed && !RulesetContainer.HasReplayLoaded,
|
CheckCanPause = () => AllowPause && ValidForResume && !HasFailed && !RulesetContainer.HasReplayLoaded,
|
||||||
|
Loading…
Reference in New Issue
Block a user