mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 04:13:00 +08:00
update nodesamples on placement
This commit is contained in:
parent
5c2555588d
commit
8dd04b6e9a
@ -163,6 +163,15 @@ namespace osu.Game.Rulesets.Edit
|
||||
if (lastHitNormal != null)
|
||||
HitObject.Samples[0] = lastHitNormal;
|
||||
}
|
||||
|
||||
if (HitObject is IHasRepeats hasRepeats)
|
||||
{
|
||||
// Make sure all the node samples are identical to the hit object's samples
|
||||
for (int i = 0; i < hasRepeats.NodeSamples.Count; i++)
|
||||
{
|
||||
hasRepeats.NodeSamples[i] = HitObject.Samples.Select(o => o.With()).ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user