mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
gunshot residue should only be on clothing/human (#16446)
* should only be on clothing * .
This commit is contained in:
@@ -79,8 +79,6 @@ var/global/list/obj/item/pda/PDAs = list()
|
||||
var/list/notifying_programs = list()
|
||||
var/retro_mode = 0
|
||||
|
||||
var/gunshot_residue // VOREstation edit: prevents wrist PDA from preventing gun use
|
||||
|
||||
/obj/item/pda/examine(mob/user)
|
||||
. = ..()
|
||||
if(Adjacent(user))
|
||||
|
||||
@@ -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))
|
||||
H.gunshot_residue = chambered.caliber
|
||||
else
|
||||
var/obj/item/clothing/G = H.gloves
|
||||
|
||||
Reference in New Issue
Block a user