From df847a617fb3885a6002cd62a384f383a5827a99 Mon Sep 17 00:00:00 2001 From: Crazylemon Date: Sat, 3 Oct 2015 12:55:38 -0700 Subject: [PATCH] Fixes putting NODROP items onto humans Fixes #2270, #2259 --- code/modules/mob/living/carbon/human/inventory.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/mob/living/carbon/human/inventory.dm b/code/modules/mob/living/carbon/human/inventory.dm index 4bea67b9ab3..c2984f5fde9 100644 --- a/code/modules/mob/living/carbon/human/inventory.dm +++ b/code/modules/mob/living/carbon/human/inventory.dm @@ -362,6 +362,10 @@ /obj/effect/equip_e/human/process() if (item) item.add_fingerprint(source) + if (item.flags & NODROP) + source << "\The [item] is stuck to you!" + qdel(src) + return else switch(place) if("mask")