Fixes pod emergency storage exploit (#63545)

This commit is contained in:
Seth Scherer
2021-12-23 04:00:00 -05:00
committed by GitHub
parent 65a2f09090
commit cbb0f75b71
+5
View File
@@ -702,6 +702,11 @@
if (can_interact(user))
return ..()
/obj/item/storage/pod/attackby_secondary(obj/item/weapon, mob/user, params)
if (!can_interact(user))
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
return ..()
/obj/item/storage/pod/attack_hand(mob/user, list/modifiers)
if (can_interact(user))
SEND_SIGNAL(src, COMSIG_TRY_STORAGE_SHOW, user)