mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:03:22 +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)
|
||||
&& existing is LegacySampleControlPoint existingSample
|
||||
&& CustomSampleBank == existingSample.CustomSampleBank;
|
||||
|
||||
public override void CopyFrom(ControlPoint other)
|
||||
{
|
||||
base.CopyFrom(other);
|
||||
|
||||
CustomSampleBank = ((LegacySampleControlPoint)other).CustomSampleBank;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user