Skip to content

Commit f5c8992

Browse files
authored
Fixes sarin poisoning through gloves (#14134)
* fix * another one
1 parent 3b7afe6 commit f5c8992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/datums/components/transfer_reagents.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
var/obj/item/clothing/gloves = carbon_user.gloves
4848
// If we have gloves that cover the hands and they don't have the fingerprint passthrough
4949
// trait, then transfer our reagents
50-
if(gloves && (gloves.body_parts_covered & HANDS) && !HAS_TRAIT(gloves, TRAIT_FINGERPRINT_PASSTHROUGH && !HAS_TRAIT(carbon_user, TRAIT_FINGERPRINT_PASSTHROUGH)))
50+
if(gloves && (gloves.body_parts_covered & HANDS) && !HAS_TRAIT(gloves, TRAIT_FINGERPRINT_PASSTHROUGH) && !HAS_TRAIT(carbon_user, TRAIT_FINGERPRINT_PASSTHROUGH))
5151
// Transfer half of the poison to the gloves
5252
if (reagents.total_volume > 1)
5353
gloves.AddComponent(/datum/component/transfer_reagents, reagents, 0.5)
@@ -68,7 +68,7 @@
6868
var/obj/item/clothing/gloves = equipper.gloves
6969
// If we have gloves that cover the hands and they don't have the fingerprint passthrough
7070
// trait, then transfer our reagents
71-
if(gloves && (gloves.body_parts_covered & HANDS) && !HAS_TRAIT(gloves, TRAIT_FINGERPRINT_PASSTHROUGH && !HAS_TRAIT(equipper, TRAIT_FINGERPRINT_PASSTHROUGH)))
71+
if(gloves && (gloves.body_parts_covered & HANDS) && !HAS_TRAIT(gloves, TRAIT_FINGERPRINT_PASSTHROUGH) && !HAS_TRAIT(equipper, TRAIT_FINGERPRINT_PASSTHROUGH))
7272
// Transfer half of the poison to the gloves
7373
if (reagents.total_volume > 1)
7474
gloves.AddComponent(/datum/component/transfer_reagents, reagents, 0.5)

0 commit comments

Comments
 (0)