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 14:24:09 -05:00
committed by GitHub
parent 00c823f219
commit 17a4df5a4c
10 changed files with 32 additions and 19 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ GLOBAL_LIST_EMPTY(PDA_Manifest)
if(rank == "Captain" && heads.len != 1)
heads.Swap(1, heads.len)
if(real_rank in GLOB.security_positions)
if(real_rank in GLOB.active_security_positions)
sec[++sec.len] = list("name" = name, "rank" = rank, "active" = isactive)
department = 1
if(depthead && sec.len != 1)