From 6273700c7a0747a85d947a5b44f8f6cd15554109 Mon Sep 17 00:00:00 2001 From: Krausus Date: Fri, 29 May 2015 08:44:27 -0400 Subject: [PATCH] Fixes Job Randomization Exclusions --- code/game/jobs/job_controller.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/jobs/job_controller.dm b/code/game/jobs/job_controller.dm index 906610f32af..ec0abe5a60b 100644 --- a/code/game/jobs/job_controller.dm +++ b/code/game/jobs/job_controller.dm @@ -127,10 +127,10 @@ var/global/datum/controller/occupations/job_master if(istype(job, GetJob("Civilian"))) // We don't want to give him assistant, that's boring! continue - if(job in command_positions) //If you want a command position, select it! + if(job.title in command_positions) //If you want a command position, select it! continue - if(job in whitelisted_positions) // No random whitelisted job, sorry! + if(job.title in whitelisted_positions) // No random whitelisted job, sorry! continue if(jobban_isbanned(player, job.title))