mirror of
https://github.com/ppy/osu
synced 2025-02-04 04:11:54 +00:00
Fix HitObjects being out of order because of nested objects
This commit is contained in:
parent
7d3380db66
commit
7e07a07c01
@ -86,6 +86,8 @@ namespace osu.Game.Rulesets.Catch.Beatmaps
|
|||||||
objectWithDroplets.Add((CatchHitObject)currentJuiceElement);
|
objectWithDroplets.Add((CatchHitObject)currentJuiceElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
objectWithDroplets.Sort((h1, h2) => h1.StartTime.CompareTo(h2.StartTime));
|
||||||
|
|
||||||
double halfCatcherWidth = CatcherArea.GetCatcherSize(Beatmap.BeatmapInfo.BaseDifficulty) / 2;
|
double halfCatcherWidth = CatcherArea.GetCatcherSize(Beatmap.BeatmapInfo.BaseDifficulty) / 2;
|
||||||
int lastDirection = 0;
|
int lastDirection = 0;
|
||||||
double lastExcess = halfCatcherWidth;
|
double lastExcess = halfCatcherWidth;
|
||||||
|
Loading…
Reference in New Issue
Block a user