From cf633b48493e6304af7020883e87c717443c0cfe Mon Sep 17 00:00:00 2001 From: Ciac32 Date: Wed, 1 May 2024 13:01:15 -0400 Subject: [PATCH] Enforce inequality between different species (#27586) Fix missing species check in humanoid equality operation --- Content.Shared/Preferences/HumanoidCharacterProfile.cs | 1 + 1 file changed, 1 insertion(+) 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; -- 2.52.0