Merge pull request #5332 from mwerezak/wound-infections

Gives the suit coolers a proper process() proc
This commit is contained in:
Chinsky
2014-06-24 05:32:47 +04:00
2 changed files with 15 additions and 14 deletions

View File

@@ -785,13 +785,8 @@
*/
proc/stabilize_body_temperature()
//TODO find a better place to put this
if (s_store && istype(s_store, /obj/item/device/suit_cooling_unit))
var/obj/item/device/suit_cooling_unit/CU = s_store
CU.cool_mob(src)
if (species.flags & IS_SYNTHETIC)
bodytemperature += species.synth_temp_gain //that CPU/posibrain just keeps putting out heat.
bodytemperature += species.synth_temp_gain //just keep putting out heat.
return
var/body_temperature_difference = species.body_temperature - bodytemperature