Use .Equals everywhere

This commit is contained in:
smoogipoo
2018-07-02 13:23:59 +09:00
parent 9f85c55915
commit aea50e770b
4 changed files with 7 additions and 7 deletions

View File

@ -46,7 +46,7 @@ namespace osu.Game.Beatmaps.ControlPoints
public override bool Equals(ControlPoint other)
=> base.Equals(other)
&& other is SampleControlPoint sample
&& SampleBank == sample.SampleBank
&& SampleVolume == sample.SampleVolume;
&& SampleBank.Equals(sample.SampleBank)
&& SampleVolume.Equals(sample.SampleVolume);
}
}