[MIRROR] Fixes wrist PDA runtiming when firing guns (#9156)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 15:19:52 -07:00
committed by GitHub
parent c9cff325a4
commit 4acb710cfe
4 changed files with 6 additions and 4 deletions

View File

@@ -86,7 +86,7 @@
if(chambered.leaves_residue)
var/mob/living/carbon/human/H = loc
if(istype(H))
if(!H.gloves)
if(!istype(H.gloves, /obj/item/clothing)) // CHOMPEdit
H.gunshot_residue = chambered.caliber
else
var/obj/item/clothing/G = H.gloves

View File

@@ -202,9 +202,9 @@
if(chambered.leaves_residue)
var/mob/living/carbon/human/H = loc
if(istype(H))
if(!H.gloves)
if(!istype(H.gloves, /obj/item/clothing))
H.gunshot_residue = chambered.caliber
else if (istype(H.gloves, /obj/item/clothing))
else
var/obj/item/clothing/G = H.gloves
G.gunshot_residue = chambered.caliber