From 9fd3c3690fdbb639207632a1e5da4069f1d31931 Mon Sep 17 00:00:00 2001 From: Charlie Nolan Date: Mon, 16 Sep 2024 09:27:39 -0700 Subject: [PATCH] Fix heat-proof doors (#26757) * Fix heat-proof doors * Use the defines, Luke! * I threatened the code. It's guarded now. --- code/game/machinery/doors/door.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm index 84ebb03663a3..071811f3137a 100644 --- a/code/game/machinery/doors/door.dm +++ b/code/game/machinery/doors/door.dm @@ -145,9 +145,11 @@ return !density /obj/machinery/door/get_superconductivity(direction) - if(density) - return superconductivity - return ..() + if(!density) + return ..() + if(heat_proof) + return ZERO_HEAT_TRANSFER_COEFFICIENT + return superconductivity /obj/machinery/door/proc/bumpopen(mob/user) if(operating)