mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 14:01:24 +08:00
Rectify null value call
tired programming is never a good idea
This commit is contained in:
@@ -28,7 +28,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
|
||||
}
|
||||
|
||||
double objectStrain = 0.5;
|
||||
objectStrain += speedBonus(current.StartTime - previousHitTime);
|
||||
objectStrain += speedBonus(current.StartTime - previousHitTime.Value);
|
||||
previousHitTime = current.StartTime;
|
||||
return objectStrain;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user