mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +01:00
Add inactive hand to carbon get_access
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user