Fix time being a part of controlpoint change comparisons

This commit is contained in:
smoogipoo
2018-07-02 13:33:59 +09:00
parent c78bfbfa55
commit b664d3ef81
7 changed files with 22 additions and 19 deletions

View File

@ -43,8 +43,8 @@ namespace osu.Game.Beatmaps.ControlPoints
Volume = sampleInfo.Volume > 0 ? sampleInfo.Volume : SampleVolume
};
public override bool Equals(ControlPoint other)
=> base.Equals(other)
public override bool ChangeEquals(ControlPoint other)
=> base.ChangeEquals(other)
&& other is SampleControlPoint sample
&& SampleBank.Equals(sample.SampleBank)
&& SampleVolume.Equals(sample.SampleVolume);