Job Title Fix (#19042)

* Changing the ID of someone with an alt-title will no longer boot them
to the Misc section of the manifest.

salt pr
This commit is contained in:
Geeves
2024-05-01 22:31:26 +00:00
committed by GitHub
parent 9983fca311
commit c13e67e746
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -54,6 +54,9 @@ SUBSYSTEM_DEF(jobs)
continue
occupations += job
name_occupations[job.title] = job
if(LAZYLEN(job.alt_titles))
for(var/alt_title in job.alt_titles)
name_occupations[alt_title] = job
type_occupations[J] = job
if(!length(bitflag_to_job["[job.department_flag]"]))
bitflag_to_job["[job.department_flag]"] = list()