From 8fada000e786dbbb0ec96aa2e4fbeacb5c5bd91d Mon Sep 17 00:00:00 2001 From: Albert Iordache Date: Sat, 28 Jul 2012 10:34:24 +0300 Subject: [PATCH] Fixed a ZAS/Processing.dm runtime error --- code/ZAS/Processing.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ZAS/Processing.dm b/code/ZAS/Processing.dm index 9e069dc62d..8d374e0f46 100644 --- a/code/ZAS/Processing.dm +++ b/code/ZAS/Processing.dm @@ -23,7 +23,8 @@ zone/proc/process() for(var/T in space_tiles) if(!istype(T,/turf/space)) RemoveSpace(T) - total_space = space_tiles.len + if(space_tiles) + total_space = space_tiles.len //Add checks to ensure that we're not sucking air out of an empty room. if(total_space && air.total_moles > 0.1 && air.temperature > TCMB+0.5)