Compare commits

...

2 Commits

Author SHA1 Message Date
metalgearsloth
9f57b705d7 Version: 182.0.0 2023-11-24 00:21:00 +11:00
metalgearsloth
68be9712ad Add entity gen to hashcode (#4601) 2023-11-24 00:19:58 +11:00
3 changed files with 12 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<Project>
<!-- This file automatically reset by Tools/version.py -->
<!-- This file automatically reset by Tools/version.py -->

View File

@@ -54,6 +54,13 @@ END TEMPLATE-->
*None yet*
## 182.0.0
### Breaking changes
* Add EntityUid's generation / version to the hashcode.
## 181.0.2
### Bugfixes

View File

@@ -115,7 +115,10 @@ namespace Robust.Shared.GameObjects
/// <inheritdoc />
public override int GetHashCode()
{
return Id;
unchecked
{
return Id.GetHashCode() * 397 ^ Version.GetHashCode();
}
}
/// <summary>