Skip to content

Commit

Permalink
Update inventory.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
dwasint committed Nov 14, 2023
1 parent e1229c6 commit a84f16b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/inventory.dm
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@
return FALSE //nonliving mobs don't have hands

/mob/living/put_in_hand_check(obj/item/I)
if(istype(I) && ((((mobility_flags & MOBILITY_PICKUP) || ((stat >= SOFT_CRIT && (stat != DEAD || stat != UNCONSCIOUS)))) || (I.item_flags & ABSTRACT)) \
&& !(SEND_SIGNAL(src, COMSIG_LIVING_TRY_PUT_IN_HAND, I) & COMPONENT_LIVING_CANT_PUT_IN_HAND)))
if(istype(I) && (((mobility_flags & MOBILITY_PICKUP) || ((stat >= SOFT_CRIT && (stat != DEAD || stat != UNCONSCIOUS)))) || (I.item_flags & ABSTRACT)) \
&& !(SEND_SIGNAL(src, COMSIG_LIVING_TRY_PUT_IN_HAND, I) & COMPONENT_LIVING_CANT_PUT_IN_HAND))
return TRUE
return FALSE

Expand Down

0 comments on commit a84f16b

Please sign in to comment.