mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
[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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user