1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00

Fix failing test due to early lifetime end

This commit is contained in:
smoogipoo 2020-11-20 13:55:01 +09:00
parent a3145ed96d
commit 17ff7fe163

View File

@ -143,8 +143,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
public FollowPointLifetimeEntry(OsuHitObject start)
{
Start = start;
LifetimeStart = LifetimeEnd = Start.StartTime;
LifetimeStart = Start.StartTime;
}
private OsuHitObject end;
@ -178,6 +177,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
double fadeInTime = fadeOutTime - FollowPointConnection.PREEMPT;
LifetimeStart = fadeInTime;
LifetimeEnd = double.MaxValue; // This will be set by the connection.
}
}
}