]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Correct IdentityBlocker to include specific outer clothing (#33085)
authorPreston Smith <92108534+thetolbean@users.noreply.github.com>
Thu, 24 Apr 2025 23:42:27 +0000 (18:42 -0500)
committerGitHub <noreply@github.com>
Thu, 24 Apr 2025 23:42:27 +0000 (19:42 -0400)
* Make IdentityBlocker include outerclothing

* Modify Correct Bit

* Fix mask/eye cobo

Content.Shared/IdentityManagement/Components/IdentityBlockerComponent.cs

index e7a88b6ef29e3df0444370a575d97d3fe3f1b7fe..308d9c0bf7aa666ee281d67f353c5086ae58599b 100644 (file)
@@ -30,7 +30,7 @@ public enum IdentityBlockerCoverage
 public sealed class SeeIdentityAttemptEvent : CancellableEntityEventArgs, IInventoryRelayEvent
 {
     // i.e. masks, helmets, or glasses.
-    public SlotFlags TargetSlots => SlotFlags.MASK | SlotFlags.HEAD | SlotFlags.EYES;
+    public SlotFlags TargetSlots => SlotFlags.MASK | SlotFlags.HEAD | SlotFlags.EYES | SlotFlags.OUTERCLOTHING;
 
     // cumulative coverage from each relayed slot
     public IdentityBlockerCoverage TotalCoverage = IdentityBlockerCoverage.NONE;