1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-01 18:09:58 +08:00

Merge pull request #32357 from Nunolin/mania-invert-end-notes

Remove end note conversion in mania invert mod (causing unwanted jacks)
This commit is contained in:
Dan Balasescu
2025-03-13 21:54:00 +09:00
committed by GitHub
Unverified
@@ -42,8 +42,7 @@ namespace osu.Game.Rulesets.Mania.Mods
var locations = column.OfType<Note>().Select(n => (startTime: n.StartTime, samples: n.Samples))
.Concat(column.OfType<HoldNote>().SelectMany(h => new[]
{
(startTime: h.StartTime, samples: h.GetNodeSamples(0)),
(startTime: h.EndTime, samples: h.GetNodeSamples(1))
(startTime: h.StartTime, samples: h.GetNodeSamples(0))
}))
.OrderBy(h => h.startTime).ToList();