mirror of https://github.com/ppy/osu
Merge branch 'i-has-curve-with-repeats' into taiko-editor
This commit is contained in:
commit
a11910e675
|
@ -233,9 +233,9 @@ private void handleHitObject(TextWriter writer, HitObject hitObject)
|
|||
writer.Write(FormattableString.Invariant($"{(int)getObjectType(hitObject)},"));
|
||||
writer.Write(FormattableString.Invariant($"{(int)toLegacyHitSoundType(hitObject.Samples)},"));
|
||||
|
||||
if (hitObject is IHasPathWithRepeats curveData)
|
||||
if (hitObject is IHasPath path)
|
||||
{
|
||||
addPathData(writer, curveData, position);
|
||||
addPathData(writer, path, position);
|
||||
writer.Write(getSampleBank(hitObject.Samples, zeroBanks: true));
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue