Fixes heater/freezer icon updating if power cut

This commit is contained in:
mwerezak
2014-09-05 10:07:46 -04:00
parent a63f358049
commit 4ba903565a
2 changed files with 2 additions and 0 deletions

View File

@@ -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)