Enforce inequality between different species (#27586)
Fix missing species check in humanoid equality operation
This commit is contained in:
@@ -356,6 +356,7 @@ namespace Content.Shared.Preferences
|
|||||||
if (Age != other.Age) return false;
|
if (Age != other.Age) return false;
|
||||||
if (Sex != other.Sex) return false;
|
if (Sex != other.Sex) return false;
|
||||||
if (Gender != other.Gender) return false;
|
if (Gender != other.Gender) return false;
|
||||||
|
if (Species != other.Species) return false;
|
||||||
if (PreferenceUnavailable != other.PreferenceUnavailable) return false;
|
if (PreferenceUnavailable != other.PreferenceUnavailable) return false;
|
||||||
if (SpawnPriority != other.SpawnPriority) return false;
|
if (SpawnPriority != other.SpawnPriority) return false;
|
||||||
if (!_jobPriorities.SequenceEqual(other._jobPriorities)) return false;
|
if (!_jobPriorities.SequenceEqual(other._jobPriorities)) return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user