From 2da318a9a5de080d5015b0df4a824e17a86e09eb Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 26 Dec 2017 13:24:22 -0200 Subject: [PATCH 1/2] Merge pull request #33820 from tgstation/Cyberboss-patch-4 Material containers only insert on help intent --- code/datums/components/material_container.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/material_container.dm b/code/datums/components/material_container.dm index d8b3b058dd..2cdbf7196d 100644 --- a/code/datums/components/material_container.dm +++ b/code/datums/components/material_container.dm @@ -51,7 +51,7 @@ /datum/component/material_container/proc/OnAttackBy(obj/item/I, mob/living/user) var/list/tc = allowed_typecache - if(user.a_intent == INTENT_HARM) + if(user.a_intent != INTENT_HELP) return if((I.flags_2 & (HOLOGRAM_2 | NO_MAT_REDEMPTION_2)) || (tc && !is_type_in_typecache(I, tc))) to_chat(user, "[parent] won't accept [I]!")