mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
One last fix for this update
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3346 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -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<numagents,i++)
|
||||
while(!theghost && (!theghost.client) && candidates.len)
|
||||
while((!theghost || !theghost.client) && candidates.len)
|
||||
theghost = pick(candidates)
|
||||
candidates.Remove(theghost)
|
||||
if(!theghost)
|
||||
|
||||
Reference in New Issue
Block a user