mirror of
https://github.com/osukey/osukey.git
synced 2025-05-06 22:27:25 +09: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();
|
double startTime = start.GetEndTime();
|
||||||
|
|
||||||
if (end == null || end.NewCombo || start is Spinner || end is Spinner)
|
|
||||||
return;
|
|
||||||
|
|
||||||
Vector2 startPosition = start.StackedEndPosition;
|
Vector2 startPosition = start.StackedEndPosition;
|
||||||
Vector2 endPosition = end.StackedPosition;
|
Vector2 endPosition = end.StackedPosition;
|
||||||
double endTime = end.StartTime;
|
double endTime = end.StartTime;
|
||||||
|
@ -239,7 +239,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Connections
|
|||||||
|
|
||||||
private void refreshLifetimes()
|
private void refreshLifetimes()
|
||||||
{
|
{
|
||||||
if (end == null)
|
if (End == null || End.NewCombo || Start is Spinner || End is Spinner)
|
||||||
{
|
{
|
||||||
LifetimeEnd = LifetimeStart;
|
LifetimeEnd = LifetimeStart;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user