diff --git a/code/datums/helper_datums/tension.dm b/code/datums/helper_datums/tension.dm index 8cbb625c43e..3d8312b50cc 100644 --- a/code/datums/helper_datums/tension.dm +++ b/code/datums/helper_datums/tension.dm @@ -356,8 +356,13 @@ var/global/datum/tension/tension_master spawn(300) if(candidates.len) - theghost = pick(candidates) + while(!theghost && candidates.len) + theghost = pick(candidates) + candidates.Remove(theghost) + if(!theghost) + return 0 var/mob/living/carbon/human/new_character=makeBody(theghost) + del(theghost) new_character.mind.make_Wizard() @@ -420,8 +425,13 @@ var/global/datum/tension/tension_master syndicate_begin() for(var/i = 0, i