From 0215410e02acbfa98bd4390c191c4160849fe10a Mon Sep 17 00:00:00 2001 From: Mloc-Argent Date: Sun, 12 Jan 2014 13:54:32 +0000 Subject: [PATCH] Fix for assistants being unspawnable after one enters a cryopod. Signed-off-by: Mloc-Argent --- code/game/jobs/job_controller.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/jobs/job_controller.dm b/code/game/jobs/job_controller.dm index 95a6ec439b..2330ebcb74 100644 --- a/code/game/jobs/job_controller.dm +++ b/code/game/jobs/job_controller.dm @@ -67,7 +67,7 @@ var/global/datum/controller/occupations/job_master proc/FreeRole(var/rank) //making additional slot on the fly var/datum/job/job = GetJob(rank) - if(job && job.current_positions >= job.total_positions) + if(job && job.current_positions >= job.total_positions && job.total_positions != -1) job.total_positions++ return 1 return 0