From b4fc5d87f7a501f805f036d072955501643107fc Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 8 Nov 2020 06:00:33 +0100 Subject: [PATCH] [MIRROR] Blast doors and shutters no longer open when bumpopen() is called (#1620) * Blast doors and shutters no longer open when bumpopen() is called (#54851) Overrides the `bumpopen()` proc on pod doors to do nothing. This proc was unreachable normally, because the `Bumped()` proc is also overridden. However, my recent fix for mechs being unable to open airlocks was to have the mech call `bumpopen()` on the door with the pilot as the mob, since this proc is what handles door permissions anyway. Since pod doors cannot be `Bumped()`, they have no permissions set, and so mechs could open all shutters and blast doors. This fixes that. * Blast doors and shutters no longer open when bumpopen() is called Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com> --- code/game/machinery/doors/poddoor.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/machinery/doors/poddoor.dm b/code/game/machinery/doors/poddoor.dm index e72b1c8cb96..aa3caeb335e 100644 --- a/code/game/machinery/doors/poddoor.dm +++ b/code/game/machinery/doors/poddoor.dm @@ -79,6 +79,9 @@ else return ..() +/obj/machinery/door/poddoor/shutters/bumpopen() + return + //"BLAST" doors are obviously stronger than regular doors when it comes to BLASTS. /obj/machinery/door/poddoor/ex_act(severity, target) if(severity == 3)