[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

![image](https://github.com/tgstation/tgstation/assets/66163761/d00bf8b6-5a60-4c64-8035-27c400b1960d)
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:
SkyratBot
2024-04-04 20:47:10 +02:00
committed by GitHub
parent 7f7a8a92b0
commit 7d8b1ed7b2
2 changed files with 23 additions and 10 deletions
@@ -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()