mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
CA1309: compare strings correctly.
This commit is contained in:
@ -70,6 +70,6 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
|
||||
public override bool EquivalentTo(ControlPoint other) =>
|
||||
other is SampleControlPoint otherTyped &&
|
||||
string.Equals(SampleBank, otherTyped.SampleBank) && SampleVolume == otherTyped.SampleVolume;
|
||||
SampleBank == otherTyped.SampleBank && SampleVolume == otherTyped.SampleVolume;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user