mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update cases where equality can be used instead of primary key equality
This commit is contained in:
@ -340,8 +340,8 @@ namespace osu.Game.Beatmaps
|
||||
}
|
||||
|
||||
public bool Equals(DifficultyCacheLookup other)
|
||||
=> BeatmapInfo.ID == other.BeatmapInfo.ID
|
||||
&& Ruleset.ID == other.Ruleset.ID
|
||||
=> BeatmapInfo.Equals(other.BeatmapInfo)
|
||||
&& Ruleset.Equals(other.Ruleset)
|
||||
&& OrderedMods.SequenceEqual(other.OrderedMods);
|
||||
|
||||
public override int GetHashCode()
|
||||
|
Reference in New Issue
Block a user