mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Added yet another special snowflake check for assistants so they'd get properly dressed on preview icon.
This commit is contained in:
@@ -190,7 +190,10 @@ datum/preferences
|
||||
qdel(I)
|
||||
var/jobflag
|
||||
var/dept
|
||||
if(job_civilian_high)
|
||||
if (job_civilian_low & ASSISTANT)
|
||||
jobflag = job_civilian_low
|
||||
dept = CIVILIAN
|
||||
else if(job_civilian_high)
|
||||
jobflag = job_civilian_high
|
||||
dept = CIVILIAN
|
||||
else if (job_medsci_high)
|
||||
@@ -199,7 +202,6 @@ datum/preferences
|
||||
else if (job_engsec_high)
|
||||
jobflag = job_engsec_high
|
||||
dept = ENGSEC
|
||||
|
||||
if(jobflag && dept && job_master)
|
||||
for (var/datum/job/J in job_master.occupations)
|
||||
if((J.department_flag & dept) && (J.flag & jobflag))
|
||||
|
||||
Reference in New Issue
Block a user