1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 08:27:49 +08:00

Rectify Review Changes

This commit is contained in:
Jay L 2022-05-16 14:25:07 +10:00
parent 94294ba351
commit c7ec95c0d0

View File

@ -14,14 +14,14 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
/// </summary>
public class SingleKeyStamina
{
private double previousHitTime;
private double? previousHitTime;
/// <summary>
/// Similar to <see cref="StrainDecaySkill.StrainValueOf(DifficultyHitObject)"/>
/// </summary>
public double StrainValueOf(DifficultyHitObject current)
{
if (previousHitTime == -1)
if (previousHitTime == null)
{
previousHitTime = current.StartTime;
return 0;