fix pod storage (#61855)

fix pod emergency storage exploit
This commit is contained in:
Ghilker
2021-10-03 22:26:14 +01:00
committed by GitHub
parent 682e7132b5
commit 7cbbe27feb
+6
View File
@@ -711,6 +711,11 @@
if(can_interact(usr))
return ..()
/obj/item/storage/pod/attack_hand_secondary(mob/user, list/modifiers)
if(!can_interact(user))
return SECONDARY_ATTACK_CANCEL_ATTACK_CHAIN
return ..()
/obj/item/storage/pod/AltClick(mob/user)
if(!can_interact(user))
return
@@ -722,6 +727,7 @@
if(SSsecurity_level.current_level >= SEC_LEVEL_RED || unlocked)
return TRUE
to_chat(user, "The storage unit will only unlock during a Red or Delta security alert.")
return FALSE
/obj/docking_port/mobile/emergency/backup
name = "backup shuttle"