Reverts my firechanges, also air alarms now have a temperature regulation capacity.

This commit is contained in:
SkyMarshal
2013-07-04 20:39:42 -07:00
parent 87f576fb64
commit efd3d83e78
3 changed files with 61 additions and 54 deletions

View File

@@ -141,7 +141,10 @@
//Sets the temperature the built-in heater/cooler tries to maintain.
if(env == "temperature")
current.target_temperature = (selected[2] + selected[3])/2
if(current.target_temperature < selected[2])
current.target_temperature = selected[2]
if(current.target_temperature > selected[3])
current.target_temperature = selected[3]
spawn(1)
updateUsrDialog()