From 4ba903565a8ff606493976de298de962d0d91971 Mon Sep 17 00:00:00 2001 From: mwerezak Date: Fri, 5 Sep 2014 10:07:46 -0400 Subject: [PATCH] Fixes heater/freezer icon updating if power cut --- code/ATMOSPHERICS/components/unary/cold_sink.dm | 1 + code/ATMOSPHERICS/components/unary/heat_source.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/ATMOSPHERICS/components/unary/cold_sink.dm b/code/ATMOSPHERICS/components/unary/cold_sink.dm index 2534dc17a1..41e1f8d1db 100644 --- a/code/ATMOSPHERICS/components/unary/cold_sink.dm +++ b/code/ATMOSPHERICS/components/unary/cold_sink.dm @@ -113,6 +113,7 @@ if(stat & (NOPOWER|BROKEN) || !on) cooling = 0 update_use_power(0) + update_icon() return if (network && air_contents.temperature > set_temperature) diff --git a/code/ATMOSPHERICS/components/unary/heat_source.dm b/code/ATMOSPHERICS/components/unary/heat_source.dm index d69ae5ac33..ab474a3136 100644 --- a/code/ATMOSPHERICS/components/unary/heat_source.dm +++ b/code/ATMOSPHERICS/components/unary/heat_source.dm @@ -60,6 +60,7 @@ if(stat & (NOPOWER|BROKEN) || !on) heating = 0 update_use_power(0) + update_icon() return if (network && air_contents.total_moles && air_contents.temperature < set_temperature)