From e2442e7fc94a092f53a5145352bed4a728012231 Mon Sep 17 00:00:00 2001 From: Tigercat2000 Date: Sun, 3 Apr 2016 12:33:52 -0700 Subject: [PATCH] Add inactive hand to carbon get_access --- code/modules/mob/living/carbon/carbon.dm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 5befe1114ba..c92d8cebd05 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -886,6 +886,10 @@ so that different stomachs can handle things in different ways VB*/ /mob/living/carbon/get_access() . = ..() - var/obj/item/I = get_active_hand() - if(I) - . |= I.GetAccess() + var/obj/item/RH = get_active_hand() + if(RH) + . |= RH.GetAccess() + + var/obj/item/LH = get_inactive_hand() + if(LH) + . |= LH.GetAccess()