mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
add brackets
This commit is contained in:
@ -432,7 +432,7 @@ namespace osu.Game.Screens.Play
|
|||||||
// cannot pause if we are already in a fail state
|
// cannot pause if we are already in a fail state
|
||||||
&& !HasFailed
|
&& !HasFailed
|
||||||
// cannot pause if already paused (or in a cooldown state) unless we are in a resuming state.
|
// cannot pause if already paused (or in a cooldown state) unless we are in a resuming state.
|
||||||
&& (IsResuming || GameplayClockContainer.IsPaused.Value == false && !pauseCooldownActive);
|
&& (IsResuming || (GameplayClockContainer.IsPaused.Value == false && !pauseCooldownActive));
|
||||||
|
|
||||||
private bool pauseCooldownActive =>
|
private bool pauseCooldownActive =>
|
||||||
lastPauseActionTime.HasValue && GameplayClockContainer.GameplayClock.CurrentTime < lastPauseActionTime + pause_cooldown;
|
lastPauseActionTime.HasValue && GameplayClockContainer.GameplayClock.CurrentTime < lastPauseActionTime + pause_cooldown;
|
||||||
|
Reference in New Issue
Block a user