From 796b37574e25886fb828e77fa92bbd40bc6be15f Mon Sep 17 00:00:00 2001 From: Enric Gabriel <43283559+SandPoot@users.noreply.github.com> Date: Mon, 25 May 2020 18:02:51 -0300 Subject: [PATCH] fix the thing. --- sandcode/code/modules/mob/living/give.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sandcode/code/modules/mob/living/give.dm b/sandcode/code/modules/mob/living/give.dm index ba03d21615..fdccc451ee 100644 --- a/sandcode/code/modules/mob/living/give.dm +++ b/sandcode/code/modules/mob/living/give.dm @@ -37,9 +37,9 @@ if(!I) to_chat(usr, "You need the item with you to give it!") return -/*sadly broken if(TRAIT_NODROP || ABSTRACT_ITEM_TRAIT) + if(HAS_TRAIT(I, TRAIT_NODROP) || HAS_TRAIT(I, ABSTRACT_ITEM_TRAIT)) //thanks trigg to_chat(usr, "That's not something you can give.") - return */ + return if(src.stat != CONSCIOUS | src.client == null) to_chat(usr, "They are not awake!") return