From 12feb78b827bf451c8f6850b76cb9b258db353da Mon Sep 17 00:00:00 2001 From: skoglol Date: Wed, 29 Jan 2020 00:29:13 +0100 Subject: [PATCH] Bureacratic error event tweak --- code/modules/events/bureaucratic_error.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/events/bureaucratic_error.dm b/code/modules/events/bureaucratic_error.dm index ba082104877..4b7993bf3fe 100644 --- a/code/modules/events/bureaucratic_error.dm +++ b/code/modules/events/bureaucratic_error.dm @@ -11,10 +11,11 @@ priority_announce("A recent bureaucratic error in the Organic Resources Department may result in personnel shortages in some departments and redundant staffing in others.", "Paperwork Mishap Alert") /datum/round_event/bureaucratic_error/start() - var/list/jobs = SSjob.occupations.Copy() + var/list/jobs = SSjob.occupations.Copy() if(prob(33)) // Only allows latejoining as a single role. Add latejoin AI bluespace pods for fun later. var/datum/job/overflow = pick_n_take(jobs) - SSjob.set_overflow_role(overflow.title) // Ensures infinite slots as this role. Assistant will still be open for those that cant. + overflow.spawn_positions = -1 + overflow.total_positions = -1 // Ensures infinite slots as this role. Assistant will still be open for those that cant play it. for(var/job in jobs) var/datum/job/current = job if(current.title == "AI") // AI currently doesnt support latejoining past one total.