mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
Refactors some signal misuse with the stationloving component (#70496)
* Refactors secluded locs * Tweak * Use traits instead of signals * Review * Type error
This commit is contained in:
@@ -106,16 +106,13 @@
|
||||
|
||||
/obj/structure/holosign/barrier/atmos/Initialize(mapload)
|
||||
. = ..()
|
||||
var/turf/local = get_turf(loc)
|
||||
ADD_TRAIT(local, TRAIT_FIREDOOR_STOP, TRAIT_GENERIC)
|
||||
air_update_turf(TRUE, TRUE)
|
||||
AddElement(/datum/element/trait_loc, TRAIT_FIREDOOR_STOP)
|
||||
|
||||
/obj/structure/holosign/barrier/atmos/block_superconductivity() //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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user