mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix bad equality comparer implementations
This commit is contained in:
@ -83,7 +83,7 @@ namespace osu.Game.Audio
|
||||
=> other != null && Name == other.Name && Bank == other.Bank && Suffix == other.Suffix;
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
=> Equals((HitSampleInfo?)obj);
|
||||
=> obj is HitSampleInfo other && Equals(other);
|
||||
|
||||
public override int GetHashCode() => HashCode.Combine(Name, Bank, Suffix);
|
||||
}
|
||||
|
Reference in New Issue
Block a user