mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:17:23 +08:00
Fix lifetime not being set correctly in some cases
This commit is contained in:
parent
2ed2ddfe8a
commit
2418f17b0c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user