1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 09:02:58 +08:00

Remove IsLayered from GetHasCode implementation

This commit is contained in:
Dean Herbert 2022-03-14 18:12:04 +09:00
parent 39d95aa8cf
commit 16ee6b5fc7

View File

@ -505,7 +505,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
public override bool Equals(object? obj)
=> obj is LegacyHitSampleInfo other && Equals(other);
public override int GetHashCode() => HashCode.Combine(base.GetHashCode(), CustomSampleBank, IsLayered);
public override int GetHashCode() => HashCode.Combine(base.GetHashCode(), CustomSampleBank);
}
private class FileHitSampleInfo : LegacyHitSampleInfo, IEquatable<FileHitSampleInfo>