Fix incorrect time delta in taiko strain

This commit is contained in:
smoogipoo 2020-07-13 16:50:54 +09:00
parent dfcb73131d
commit 352f59942e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ protected override double StrainValueOf(DifficultyHitObject current)
double addition = 1;
// We get an extra addition if we are not a slider or spinner
if (current.LastObject is Hit && current.BaseObject is Hit && current.DeltaTime < 1000)
if (current.LastObject is Hit && current.BaseObject is Hit && (current.BaseObject.StartTime - current.LastObject.StartTime) < 1000)
{
if (hasColourChange(current))
addition += 0.75;