Revert "Fixes almost all the bugs that I should have fixed six months ago" (#18330)

* Revert "[ci skip] Automatic changelog update."

This reverts commit c4eaaeb372.

* Revert "Fixes almost all the bugs that I should have fixed six months ago (#18323)"

This reverts commit e7c24c311c.
This commit is contained in:
ShiftyRail
2018-05-22 12:25:53 +02:00
committed by DamianX
parent c4eaaeb372
commit b02d1ea5f2
58 changed files with 267 additions and 209 deletions

View File

@@ -122,7 +122,12 @@
if(!gas)
return null
var/datum/gas_mixture/newgas = new/datum/gas_mixture()
newgas.copy_from(gas)
newgas.oxygen = gas.oxygen
newgas.carbon_dioxide = gas.carbon_dioxide
newgas.nitrogen = gas.nitrogen
newgas.toxins = gas.toxins
newgas.volume = gas.volume
newgas.temperature = gas.temperature
if(newgas.temperature <= target_temp)
return
@@ -130,7 +135,6 @@
newgas.temperature -= cooling_power
else
newgas.temperature = target_temp
newgas.update_values()
return newgas
/obj/structure/closet/crate/freezer/surgery