Fix suit coolers and exosuits for IPCs (#13867)

This commit is contained in:
Wildkins
2022-05-11 02:11:40 +02:00
committed by GitHub
parent ead311c3b3
commit dc3093c047
5 changed files with 34 additions and 7 deletions
+2 -2
View File
@@ -125,7 +125,7 @@
spark_system = bind_spark(src, 5)
START_PROCESSING(SSprocessing, src)
START_PROCESSING(SSmob, src)
last_remote_message = world.time
@@ -187,7 +187,7 @@
/obj/item/rig/Destroy()
for(var/obj/item/piece in list(gloves,boots,helmet,chest))
qdel(piece)
STOP_PROCESSING(SSprocessing, src)
STOP_PROCESSING(SSmob, src)
qdel(wires)
wires = null
qdel(spark_system)
@@ -79,9 +79,9 @@
/obj/item/mech_component/chassis/Initialize()
. = ..()
cockpit = new(20)
cockpit = new
if(loc)
cockpit.equalize(loc.return_air())
cockpit.copy_from(loc.return_air())
air_supply = new /obj/machinery/portable_atmospherics/canister/air(src)
/obj/item/mech_component/chassis/proc/update_air(var/take_from_supply)
@@ -141,4 +141,4 @@
air_supply = null
C.forceMove(src)
update_components()
else . = ..()
else . = ..()