mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 22:17:46 +08:00
Add more readiness checks in KeysPerSecondCalculator
This commit is contained in:
parent
9e80d3f71c
commit
46e372cb99
@ -57,7 +57,7 @@ namespace osu.Game.Screens.Play.HUD.KPSCounter
|
||||
|
||||
private double maxTime = double.NegativeInfinity;
|
||||
|
||||
public bool Ready => workingClock != null && gameplayClock != null;
|
||||
public bool Ready => workingClock != null && gameplayClock != null && listener != null;
|
||||
public int Value => timestamps.Count(isTimestampWithinSpan);
|
||||
|
||||
public KeysPerSecondCalculator()
|
||||
|
Loading…
x
Reference in New Issue
Block a user