From fc83354e021c168a47e615dcd2268b5c0ed58433 Mon Sep 17 00:00:00 2001 From: "VivianFoxfoot@gmail.com" Date: Fri, 23 Mar 2012 07:48:51 +0000 Subject: [PATCH] One last fix for this update git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3346 316c924e-a436-60f5-8080-3fe189b3f50e --- code/datums/helper_datums/tension.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/helper_datums/tension.dm b/code/datums/helper_datums/tension.dm index 9780e862180..5d68e28dfe5 100644 --- a/code/datums/helper_datums/tension.dm +++ b/code/datums/helper_datums/tension.dm @@ -396,7 +396,7 @@ var/global/datum/tension/tension_master sleep(300) spawn(0) if(candidates.len) - while(!theghost && !theghost.client && candidates.len) + while((!theghost || !theghost.client) && candidates.len) theghost = pick(candidates) candidates.Remove(theghost) if(!theghost) @@ -472,7 +472,7 @@ var/global/datum/tension/tension_master syndicate_begin() for(var/i = 0, i