1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 23:50:29 +08:00

Fix lifetime not being set correctly in some cases

This commit is contained in:
smoogipoo
2020-11-20 16:19:02 +09:00
Unverified
parent 2ed2ddfe8a
commit 2418f17b0c
2 changed files with 1 additions and 4 deletions
@@ -53,9 +53,6 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
double startTime = start.GetEndTime();
if (end == null || end.NewCombo || start is Spinner || end is Spinner)
return;
Vector2 startPosition = start.StackedEndPosition;
Vector2 endPosition = end.StackedPosition;
double endTime = end.StartTime;
@@ -239,7 +239,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
private void refreshLifetimes()
{
if (end == null)
if (End == null || End.NewCombo || Start is Spinner || End is Spinner)
{
LifetimeEnd = LifetimeStart;
return;