From 7acc38db36ff9f5cbffb2a8bcb5f15eddfab94fb Mon Sep 17 00:00:00 2001 From: dumpdavidson Date: Mon, 21 Oct 2013 00:19:32 +0200 Subject: [PATCH] Correctly fixes AI/Cyborg blobs this time. Unlike other game modes blob didn't manually remove the restricted jobs from the possible antag lists in pre_setup(). --- code/game/gamemodes/blob/blob.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/gamemodes/blob/blob.dm b/code/game/gamemodes/blob/blob.dm index 194994c7467..ddb3062ecd3 100644 --- a/code/game/gamemodes/blob/blob.dm +++ b/code/game/gamemodes/blob/blob.dm @@ -35,6 +35,10 @@ var/list/blob_nodes = list() blobwincount = initial(blobwincount) * cores_to_spawn + for(var/datum/mind/player in antag_candidates) + for(var/job in restricted_jobs)//Removing robots from the list + if(player.assigned_role == job) + antag_candidates -= player for(var/j = 0, j < cores_to_spawn, j++) if (!antag_candidates.len)