mirror of
https://github.com/ppy/osu
synced 2025-03-21 10:28:06 +00:00
Revert "Remove IsLayered
from GetHasCode
implementation"
This reverts commit 16ee6b5fc7
.
This commit is contained in:
parent
999ddff3d4
commit
2ea9e5245c
@ -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);
|
||||
public override int GetHashCode() => HashCode.Combine(base.GetHashCode(), CustomSampleBank, IsLayered);
|
||||
}
|
||||
|
||||
private class FileHitSampleInfo : LegacyHitSampleInfo, IEquatable<FileHitSampleInfo>
|
||||
|
Loading…
Reference in New Issue
Block a user