fixes a broken check in the job controller (#20264)

This commit is contained in:
GDN
2023-01-23 16:28:36 -06:00
committed by GitHub
parent 0d1dcdcc9e
commit f03b79b456
+1 -1
View File
@@ -678,7 +678,7 @@ SUBSYSTEM_DEF(jobs)
var/datum/job/tgt_job = GetJob(jobtitle)
if(!tgt_job)
return
if(!tgt_job.department_head[1])
if(!length(tgt_job.department_head))
return
var/boss_title = tgt_job.department_head[1]
var/obj/item/pda/target_pda