mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +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)
|
||||
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
author: Amunak
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "Changing someone's rank will no longer cause a runtime that causes Crew Manifest to stop working / show nothing."
|
||||
Reference in New Issue
Block a user