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
@@ -32,7 +32,6 @@
/obj/item/device/suit_cooling_unit/Initialize()
. = ..()
START_PROCESSING(SSprocessing, src)
if(celltype)
cell = new celltype(src)
@@ -112,6 +111,7 @@
return
on = TRUE
START_PROCESSING(SSmob, src)
update_icon()
/obj/item/device/suit_cooling_unit/proc/turn_off()
@@ -119,6 +119,7 @@
var/mob/M = src.loc
to_chat(M, SPAN_WARNING("\The [src] clicks and whines as it powers down."))
on = FALSE
STOP_PROCESSING(SSmob, src)
update_icon()
/obj/item/device/suit_cooling_unit/attack_self(mob/user)