1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 18:32:55 +08:00

Made Player.canPause one line

This commit is contained in:
DrabWeb 2017-01-31 21:02:58 -04:00
parent 2c12568a0d
commit c92418e000

View File

@ -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;