mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Add more readiness checks in KeysPerSecondCalculator
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user