mirror of
https://github.com/ppy/osu
synced 2025-02-20 20:47:09 +00:00
Do not pause a running replay if the window is not focused.
This commit is contained in:
parent
5d818620c9
commit
57b9ed0f54
@ -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