mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 09:02:58 +08:00
Fix missing copy implementation in LegacySampleControlPiont
This commit is contained in:
parent
6b8e1913ee
commit
afab35a31a
@ -203,6 +203,13 @@ namespace osu.Game.Beatmaps.Formats
|
|||||||
=> base.IsRedundant(existing)
|
=> base.IsRedundant(existing)
|
||||||
&& existing is LegacySampleControlPoint existingSample
|
&& existing is LegacySampleControlPoint existingSample
|
||||||
&& CustomSampleBank == existingSample.CustomSampleBank;
|
&& CustomSampleBank == existingSample.CustomSampleBank;
|
||||||
|
|
||||||
|
public override void CopyFrom(ControlPoint other)
|
||||||
|
{
|
||||||
|
base.CopyFrom(other);
|
||||||
|
|
||||||
|
CustomSampleBank = ((LegacySampleControlPoint)other).CustomSampleBank;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user