mirror of
https://github.com/Skyrat-SS13/Skyrat-tg.git
synced 2026-07-19 03:45:14 +01:00
[MIRROR] Bumping into a door in a stealth implant opens the door (if you have access) (#27102)
* Bumping into a door in a stealth implant opens the door (if you have access) (#82224) ## About The Pull Request Bumping into a door in a stealth implant opens the door (if you have access) ## Why It's Good For The Game  Reduces jank by allowing stealth boxes to open doors. ## Changelog 🆑 qol: You can now open airlocks (That you have access to) while inside a stealth implant box /🆑 --------- Co-authored-by: san7890 <the@ san7890.com> * Bumping into a door in a stealth implant opens the door (if you have access) --------- Co-authored-by: Xander3359 <66163761+Xander3359@users.noreply.github.com> Co-authored-by: san7890 <the@ san7890.com>
This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
|
||||
/obj/structure/closet/cardboard/agent/Bump(atom/A)
|
||||
. = ..()
|
||||
if(istype(A, /obj/machinery/door))
|
||||
for(var/mob/mob_in_box in contents)
|
||||
A.Bumped(mob_in_box)
|
||||
if(isliving(A))
|
||||
reveal()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user