mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 06:07:23 +08:00
Fix incorrect inequality with multiple speed adjustments at the same start time.
This commit is contained in:
parent
3254e16e9c
commit
5fcd94880d
@ -181,7 +181,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
speedAdjustments.Add(speedAdjustment);
|
speedAdjustments.Add(speedAdjustment);
|
||||||
|
|
||||||
// We now need to re-sort the hit objects in the last speed adjustment prior to this one, to see if they need a new parent
|
// We now need to re-sort the hit objects in the last speed adjustment prior to this one, to see if they need a new parent
|
||||||
var previousSpeedAdjustment = speedAdjustments.LastOrDefault(s => s.ControlPoint.StartTime < speedAdjustment.ControlPoint.StartTime);
|
var previousSpeedAdjustment = speedAdjustments.LastOrDefault(s => s.ControlPoint.StartTime <= speedAdjustment.ControlPoint.StartTime);
|
||||||
if (previousSpeedAdjustment == null)
|
if (previousSpeedAdjustment == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user