1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 03:13:21 +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> /// </summary>
public class SingleKeyStamina public class SingleKeyStamina
{ {
private double previousHitTime; private double? previousHitTime;
/// <summary> /// <summary>
/// Similar to <see cref="StrainDecaySkill.StrainValueOf(DifficultyHitObject)"/> /// Similar to <see cref="StrainDecaySkill.StrainValueOf(DifficultyHitObject)"/>
/// </summary> /// </summary>
public double StrainValueOf(DifficultyHitObject current) public double StrainValueOf(DifficultyHitObject current)
{ {
if (previousHitTime == -1) if (previousHitTime == null)
{ {
previousHitTime = current.StartTime; previousHitTime = current.StartTime;
return 0; return 0;