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

Rectify null value call

tired programming is never a good idea
This commit is contained in:
Jay L 2022-05-16 14:48:39 +10:00
parent c7ec95c0d0
commit db6abd86f0

View File

@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
} }
double objectStrain = 0.5; double objectStrain = 0.5;
objectStrain += speedBonus(current.StartTime - previousHitTime); objectStrain += speedBonus(current.StartTime - previousHitTime.Value);
previousHitTime = current.StartTime; previousHitTime = current.StartTime;
return objectStrain; return objectStrain;
} }