From e2819e7bedb45b46037b02e46e72d8ec9bc1e2f9 Mon Sep 17 00:00:00 2001 From: CHOMPStation2 <58959929+CHOMPStation2@users.noreply.github.com> Date: Thu, 17 Oct 2024 02:05:28 -0700 Subject: [PATCH] [MIRROR] Blast doors protect covered airlocks (#9248) Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com> Co-authored-by: CHOMPStation2 --- code/game/machinery/doors/door_vr.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/machinery/doors/door_vr.dm b/code/game/machinery/doors/door_vr.dm index be8d84fefc..860a5510d5 100644 --- a/code/game/machinery/doors/door_vr.dm +++ b/code/game/machinery/doors/door_vr.dm @@ -18,6 +18,10 @@ heat_proof = 1 /obj/machinery/door/fire_act(datum/gas_mixture/air, exposed_temperature, exposed_volume) + for(var/obj/machinery/door/blast/B in loc.contents) + if(B.density) + return + var/maxtemperature = 1800 //same as a normal steel wall var/destroytime = 20 //effectively gives an airlock 200HP between breaking and completely disintegrating if(heat_proof)