mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Revert "Fixes almost all the bugs that I should have fixed six months ago" (#18330)
* Revert "[ci skip] Automatic changelog update." This reverts commitc4eaaeb372. * Revert "Fixes almost all the bugs that I should have fixed six months ago (#18323)" This reverts commite7c24c311c.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user