]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Enforce inequality between different species (#27586)
authorCiac32 <aknoxlor@gmail.com>
Wed, 1 May 2024 17:01:15 +0000 (13:01 -0400)
committerGitHub <noreply@github.com>
Wed, 1 May 2024 17:01:15 +0000 (13:01 -0400)
Fix missing species check in humanoid equality operation

Content.Shared/Preferences/HumanoidCharacterProfile.cs

index bd2a7f329aa3a34a68dc9d4f92ed7dbc236993c4..3f3444195ca7695903c228042be30879196e2dac 100644 (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;