This commit is contained in:
fu-majime 2024-04-09 23:09:37 +09:00
parent 8bd2a93750
commit ff44126316

View file

@ -175,7 +175,7 @@ namespace HeavenStudio.Games
}; };
scheduledBalls.Add(ball); scheduledBalls.Add(ball);
} }
scheduledBalls.Sort((x, y) => x.beat.CompareTo(y.beat)); scheduledBalls.Sort((x, y) => (x.beat - x.length).CompareTo(y.beat - y.length));
} }
public override void OnPlay(double beat) public override void OnPlay(double beat)
{ {