[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>
This commit is contained in:
SkyratBot
2020-11-08 05:00:33 +00:00
committed by GitHub
co-authored by zxaber
parent 5f672ae2bc
commit b4fc5d87f7
+3
View File
@@ -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)