From 48dedda36bc9a715b08bf78073ebbaf0c43c388c Mon Sep 17 00:00:00 2001 From: Ikarrus Date: Sun, 28 Jun 2015 18:55:34 -0600 Subject: [PATCH] ABSTRACT items cannot be shredded --- code/modules/mob/living/carbon/human/inventory.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/carbon/human/inventory.dm b/code/modules/mob/living/carbon/human/inventory.dm index 297938a075c..4bd3d94f560 100644 --- a/code/modules/mob/living/carbon/human/inventory.dm +++ b/code/modules/mob/living/carbon/human/inventory.dm @@ -440,6 +440,9 @@ w_uniform.shred(bomb,shock-absorbed,src) /obj/item/proc/shred(var/bomb,var/shock,var/mob/living/carbon/human/Human) + if(flags & ABSTRACT) + return -1 + var/shredded if(!bomb)