From 67a18271f23e6793046383b2eb387982bb894227 Mon Sep 17 00:00:00 2001 From: Ikarrus Date: Sat, 16 Aug 2014 00:46:24 -0600 Subject: [PATCH] Update one_click_antag.dm --- code/modules/admin/verbs/one_click_antag.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/verbs/one_click_antag.dm b/code/modules/admin/verbs/one_click_antag.dm index 6ab0e827f81..5936da4f5d6 100644 --- a/code/modules/admin/verbs/one_click_antag.dm +++ b/code/modules/admin/verbs/one_click_antag.dm @@ -344,7 +344,7 @@ client/proc/one_click_antag() if(candidates.len >= 3) //Minimum 3 to be considered a squad //Pick the lucky players var/numagents = 5 //How many commandos to spawn - while(numagents && !deathsquadspawn.len && !candidates.len) + while(numagents && deathsquadspawn.len && candidates.len) var/spawnloc = deathsquadspawn[1] var/mob/dead/observer/chosen_candidate = pick(candidates) candidates -= chosen_candidate