From c02a6b2e9a613105d6c61efa3c81cbcaaf1bd674 Mon Sep 17 00:00:00 2001 From: "johnsonmt88@gmail.com" Date: Thu, 12 Jul 2012 16:35:01 +0000 Subject: [PATCH] You can no longer be randomly assigned a command position using the "Get random job if preferences unavailable" button. - This is mainly to prevent inexperienced players who only select a couple of jobs from getting assigned command roles. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4051 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/jobs/job_controller.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/jobs/job_controller.dm b/code/game/jobs/job_controller.dm index e6087aa7269..63110bd7b3f 100644 --- a/code/game/jobs/job_controller.dm +++ b/code/game/jobs/job_controller.dm @@ -90,6 +90,9 @@ var/global/datum/controller/occupations/job_master if(istype(job, GetJob("Assistant"))) // 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! + continue + if(jobban_isbanned(player, job.title)) Debug("FOC isbanned failed, Player: [player], Job: [job.title]") continue