From b0c48dfa8cdde2174a87ceaf34f163fdd2e09200 Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Mon, 4 Mar 2019 12:22:21 +0100 Subject: [PATCH] gas --- code/game/objects/items/devices/suit_cooling.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/objects/items/devices/suit_cooling.dm b/code/game/objects/items/devices/suit_cooling.dm index fa5ca2993e..e769ae8ea2 100644 --- a/code/game/objects/items/devices/suit_cooling.dm +++ b/code/game/objects/items/devices/suit_cooling.dm @@ -248,10 +248,10 @@ /mob/living/simple_animal/hostile/jelly/cold/proc/handle_cooling(var/datum/gas_mixture/environment) var/datum/gas_mixture/gas - gas = environment.remove(0.25 * environment.total_moles) - if(gas) - gas.add_thermal_energy(cooling) - environment.merge(gas) + gas = environment.remove(0.25 * environment.total_moles) + if(gas) + gas.add_thermal_energy(cooling) + environment.merge(gas) /mob/living/simple_animal/hostile/jelly/cold/Life() ..()