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:
parent
94294ba351
commit
c7ec95c0d0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user