mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Fix failing test due to early lifetime end
This commit is contained in:
parent
a3145ed96d
commit
17ff7fe163
@ -143,8 +143,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
|
|||||||
public FollowPointLifetimeEntry(OsuHitObject start)
|
public FollowPointLifetimeEntry(OsuHitObject start)
|
||||||
{
|
{
|
||||||
Start = start;
|
Start = start;
|
||||||
|
LifetimeStart = Start.StartTime;
|
||||||
LifetimeStart = LifetimeEnd = Start.StartTime;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private OsuHitObject end;
|
private OsuHitObject end;
|
||||||
@ -178,6 +177,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
|
|||||||
double fadeInTime = fadeOutTime - FollowPointConnection.PREEMPT;
|
double fadeInTime = fadeOutTime - FollowPointConnection.PREEMPT;
|
||||||
|
|
||||||
LifetimeStart = fadeInTime;
|
LifetimeStart = fadeInTime;
|
||||||
|
LifetimeEnd = double.MaxValue; // This will be set by the connection.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user