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