mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 22:22:56 +08:00
Merge pull request #813 from MrTheMake/replay-no-pausing
Do not pause a running replay if the window is not focused
This commit is contained in:
commit
71e5b0dd02
@ -150,7 +150,7 @@ namespace osu.Game.Screens.Play
|
||||
FramedClock = offsetClock,
|
||||
OnRetry = Restart,
|
||||
OnQuit = Exit,
|
||||
CheckCanPause = () => ValidForResume && !HasFailed,
|
||||
CheckCanPause = () => ValidForResume && !HasFailed && !HitRenderer.HasReplayLoaded,
|
||||
Retries = RestartCount,
|
||||
OnPause = () => {
|
||||
hudOverlay.KeyCounter.IsCounting = pauseContainer.IsPaused;
|
||||
|
Loading…
Reference in New Issue
Block a user