Enforce inequality between different species (#27586)

Fix missing species check in humanoid equality operation
This commit is contained in:
Ciac32
2024-05-01 13:01:15 -04:00
committed by GitHub
parent 577106251b
commit cf633b4849

View File

@@ -356,6 +356,7 @@ namespace Content.Shared.Preferences
if (Age != other.Age) return false;
if (Sex != other.Sex) return false;
if (Gender != other.Gender) return false;
if (Species != other.Species) return false;
if (PreferenceUnavailable != other.PreferenceUnavailable) return false;
if (SpawnPriority != other.SpawnPriority) return false;
if (!_jobPriorities.SequenceEqual(other._jobPriorities)) return false;