From ff441263168122a2b169a9abf95cd3cff4256f73 Mon Sep 17 00:00:00 2001 From: fu-majime Date: Tue, 9 Apr 2024 23:09:37 +0900 Subject: [PATCH] oops --- Assets/Scripts/Games/BouncyRoad/BouncyRoad.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Games/BouncyRoad/BouncyRoad.cs b/Assets/Scripts/Games/BouncyRoad/BouncyRoad.cs index c273da5ea..014ed5825 100644 --- a/Assets/Scripts/Games/BouncyRoad/BouncyRoad.cs +++ b/Assets/Scripts/Games/BouncyRoad/BouncyRoad.cs @@ -175,7 +175,7 @@ namespace HeavenStudio.Games }; 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) {