/tg/ Station 13 - Modules - Types

code/modules/jobs/job_types/security_officer.dm

/proc/get_officer_departmentReturns the department a new officer should go to: the least populated one, favoring their preference on ties.