Firelocks can't close if an holofan is placed on their turf (#58332)

This commit is contained in:
Ghilker
2021-04-13 06:36:05 -07:00
committed by GitHub
parent ed0e94ce49
commit f54783fd91
3 changed files with 10 additions and 1 deletions
+5 -1
View File
@@ -106,14 +106,18 @@
/obj/structure/holosign/barrier/atmos/Initialize()
. = ..()
var/turf/local = get_turf(loc)
ADD_TRAIT(local, TRAIT_FIREDOOR_STOP, TRAIT_GENERIC)
air_update_turf(TRUE, TRUE)
/obj/structure/holosign/barrier/atmos/BlockSuperconductivity() //Didn't used to do this, but it's "normal", and will help ease heat flow transitions with the players.
return TRUE
/obj/structure/holosign/barrier/atmos/Destroy()
. = ..()
var/turf/local = get_turf(loc)
REMOVE_TRAIT(local, TRAIT_FIREDOOR_STOP, TRAIT_GENERIC)
air_update_turf(TRUE, FALSE)
return ..()
/obj/structure/holosign/barrier/cyborg
name = "Energy Field"