mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Made Player.canPause one line
This commit is contained in:
@ -55,13 +55,7 @@ namespace osu.Game.Screens.Play
|
||||
private double pauseCooldown = 1000;
|
||||
private double lastPauseActionTime = 0;
|
||||
|
||||
private bool canPause
|
||||
{
|
||||
get
|
||||
{
|
||||
return Time.Current >= (lastPauseActionTime + pauseCooldown);
|
||||
}
|
||||
}
|
||||
private bool canPause => Time.Current >= (lastPauseActionTime + pauseCooldown);
|
||||
|
||||
private IAdjustableClock sourceClock;
|
||||
|
||||
|
Reference in New Issue
Block a user