From 496e3d0989eddc2d954ecdb661e2eba14fe60c6f Mon Sep 17 00:00:00 2001 From: MrStonedOne Date: Sat, 16 May 2015 18:23:13 -0700 Subject: [PATCH] Quick fix for cryo. Moving this to machery process just seems dirty, but it works until somebody else with the time or care can figure something out about that expel gas proc. --- code/game/machinery/cryo.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/game/machinery/cryo.dm b/code/game/machinery/cryo.dm index 48a4b19a881..ecf7cf5b957 100644 --- a/code/game/machinery/cryo.dm +++ b/code/game/machinery/cryo.dm @@ -50,7 +50,6 @@ if(air_contents) temperature_archived = air_contents.temperature heat_gas_contents() - expel_gas() if(abs(temperature_archived-air_contents.temperature) > 1) parent.update = 1 @@ -68,8 +67,10 @@ updateDialog() return - if(air_contents && occupant) - process_occupant() + if(air_contents) + if (occupant) + process_occupant() + expel_gas() updateDialog() return 1