Skip to content

Commit

Permalink
Fix heat-proof doors (#26757)
Browse files Browse the repository at this point in the history
* Fix heat-proof doors

* Use the defines, Luke!

* I threatened the code. It's guarded now.
  • Loading branch information
FunnyMan3595 authored Sep 16, 2024
1 parent 17098fe commit 9fd3c36
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/game/machinery/doors/door.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9fd3c36

Please sign in to comment.