From 7b4289e07234883125bb1fd21cd4bfbe23f5bd01 Mon Sep 17 00:00:00 2001 From: Chinsky Date: Thu, 7 Jan 2016 19:40:50 +0300 Subject: [PATCH] Macro for intent --- code/modules/mob/living/carbon/human/human.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index ea64a798aa7..58dd22d2223 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1385,7 +1385,7 @@ /mob/living/carbon/human/MouseDrop(var/atom/over_object) var/mob/living/carbon/human/H = over_object - if(H.a_intent == "help" && holder_type && istype(H) && !H.lying && !issmall(H) && Adjacent(H)) + if(H.a_intent == I_HELP && holder_type && istype(H) && !H.lying && !issmall(H) && Adjacent(H)) get_scooped(H, (usr == src)) return return ..()