Cryo tubes no longer expel gas

This commit is contained in:
Markolie
2016-10-11 18:21:20 +02:00
parent 92bc8350ad
commit 30412c8db1
-11
View File
@@ -134,7 +134,6 @@
if(air_contents)
temperature_archived = air_contents.temperature
heat_gas_contents()
expel_gas()
if(occupant)
process_occupant()
@@ -401,16 +400,6 @@
var/combined_energy = T20C*current_heat_capacity + air_heat_capacity*air_contents.temperature
air_contents.temperature = combined_energy/combined_heat_capacity
/obj/machinery/atmospherics/unary/cryo_cell/proc/expel_gas()
if(air_contents.total_moles() < 1)
return
var/datum/gas_mixture/expel_gas = new
var/remove_amount = air_contents.total_moles()/100
expel_gas = air_contents.remove(remove_amount)
expel_gas.temperature = T20C // Lets expel hot gas and see if that helps people not die as they are removed
loc.assume_air(expel_gas)
air_update_turf()
/obj/machinery/atmospherics/unary/cryo_cell/proc/go_out()
if(!occupant)
return