Fixes some issues with command and sec job lists (#21806)

* oh god oh god

* oops, forgot to remove that

* name changes
This commit is contained in:
Contrabang
2023-07-24 15:24:09 -04:00
committed by GitHub
parent 00c823f219
commit 17a4df5a4c
10 changed files with 32 additions and 19 deletions
+1 -1
View File
@@ -93,7 +93,7 @@
if(M.mind.assigned_role in list("Chief Medical Officer", "Medical Doctor"))
active_with_role["Medical"]++
if(M.mind.assigned_role in GLOB.security_positions)
if(M.mind.assigned_role in GLOB.active_security_positions)
active_with_role["Security"]++
if(M.mind.assigned_role in list("Research Director", "Scientist"))
+1 -1
View File
@@ -477,7 +477,7 @@
var/list/categorizedJobs = list(
"Command" = list(jobs = list(), titles = GLOB.command_positions, color = "#aac1ee"),
"Engineering" = list(jobs = list(), titles = GLOB.engineering_positions, color = "#ffd699"),
"Security" = list(jobs = list(), titles = GLOB.security_positions, color = "#ff9999"),
"Security" = list(jobs = list(), titles = GLOB.active_security_positions, color = "#ff9999"),
"Miscellaneous" = list(jobs = list(), titles = list(), color = "#ffffff", colBreak = 1),
"Synthetic" = list(jobs = list(), titles = GLOB.nonhuman_positions, color = "#ccffcc"),
"Support / Service" = list(jobs = list(), titles = GLOB.service_positions, color = "#cccccc"),
+1 -1
View File
@@ -5,7 +5,7 @@
var/list/positions = list()
var/list/set_names = list(
"heads" = GLOB.command_positions,
"sec" = GLOB.security_positions,
"sec" = GLOB.active_security_positions,
"eng" = GLOB.engineering_positions,
"med" = GLOB.medical_positions,
"sci" = GLOB.science_positions,