diff --git a/code/datums/elements/can_be_held.dm b/code/datums/elements/can_be_held.dm index 8c08b54ef48..884b4afbd3f 100644 --- a/code/datums/elements/can_be_held.dm +++ b/code/datums/elements/can_be_held.dm @@ -29,21 +29,20 @@ INVOKE_ASYNC(source, TYPE_PROC_REF(/mob/living, mob_try_pickup), user) return COMPONENT_CANCEL_MOUSEDROP_ONTO +/// Blocks strip menu opening if we can reasonably assert that the mob is trying to be picked up /datum/element/can_be_held/proc/on_strip_menu_open(datum/source, atom/over, mob/user) SIGNAL_HANDLER if(!trying_to_hold_mob(user, source)) return - INVOKE_ASYNC(source, TYPE_PROC_REF(/mob/living, mob_try_pickup), user) return COMPONENT_BLOCK_STRIP_MENU_OPEN - +/// Blocks storage dumping if we can reasonably assert that the mob is trying to be picked up /datum/element/can_be_held/proc/on_attempt_storage_dump(datum/source, atom/over, mob/user) SIGNAL_HANDLER if(!trying_to_hold_mob(user, source)) return - INVOKE_ASYNC(source, TYPE_PROC_REF(/mob/living, mob_try_pickup), user) return CANCEL_STORAGE_DUMP