Skip to content

Commit

Permalink
Misc: remove LastSync from beatmap.GetHashCode
Browse files Browse the repository at this point in the history
This is more or less equivalent to random... making any sort of caching useless.
  • Loading branch information
Piotrekol committed Aug 10, 2019
1 parent 69f4d22 commit d7600c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CollectionManagerDll/DataTypes/Beatmap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public override int GetHashCode()
hash = hash * 23 + LastPlayed.GetHashCode();
hash = hash * 23 + IsOsz2.GetHashCode();
hash = hash * 23 + Dir.GetHashCode();
hash = hash * 23 + LastSync.GetHashCode();
//hash = hash * 23 + LastSync.GetHashCode(); //This value is updated by osu even if no changes were made to the actual data
hash = hash * 23 + DisableHitsounds.GetHashCode();
hash = hash * 23 + DisableSkin.GetHashCode();
hash = hash * 23 + DisableSb.GetHashCode();
Expand Down

0 comments on commit d7600c3

Please sign in to comment.