mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Fixes runtime in SSRecords causing issues with Crew Manifest (#10559)
This commit is contained in:
@@ -229,7 +229,7 @@
|
||||
var/isactive = t.physical_status
|
||||
|
||||
var/list/departments
|
||||
if(job.departments.len > 0 && all_in_list(job.departments, manifest))
|
||||
if(istype(job) && job.departments.len > 0 && all_in_list(job.departments, manifest))
|
||||
departments = job.departments
|
||||
else // no department set or there's something weird
|
||||
departments = list(DEPARTMENT_MISCELLANEOUS = JOBROLE_DEFAULT)
|
||||
|
||||
Reference in New Issue
Block a user