From: Ciac32 Date: Wed, 1 May 2024 17:01:15 +0000 (-0400) Subject: Enforce inequality between different species (#27586) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=cf633b48493e6304af7020883e87c717443c0cfe;p=space-station-14.git Enforce inequality between different species (#27586) Fix missing species check in humanoid equality operation --- diff --git a/Content.Shared/Preferences/HumanoidCharacterProfile.cs b/Content.Shared/Preferences/HumanoidCharacterProfile.cs index bd2a7f329a..3f3444195c 100644 --- a/Content.Shared/Preferences/HumanoidCharacterProfile.cs +++ b/Content.Shared/Preferences/HumanoidCharacterProfile.cs @@ -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;