[MIRROR] Fix pod emergency storage exploit [MDB IGNORE] (#8594)

* fix pod storage (#61855)

fix pod emergency storage exploit

* Fix pod emergency storage exploit

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-10-03 22:59:11 +01:00
committed by GitHub
co-authored by Ghilker
parent eb0c3ab9df
commit c0e08b424e
+6
View File
@@ -720,6 +720,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
@@ -731,6 +736,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"