Skip to content

Commit

Permalink
bugfix: fixed security & command sub-professions not being visible on…
Browse files Browse the repository at this point in the history
… crew monitor (ss220-space#3802)
  • Loading branch information
Vladisvell authored and SuhEugene committed Nov 6, 2023
1 parent 0dc52fa commit 487efda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/cache/crew.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ GLOBAL_DATUM_INIT(crew_repository, /datum/repository/crew, new())
crewmemberData["name"] = H.get_authentification_name(if_no_id="Unknown")
crewmemberData["rank"] = H.get_authentification_rank(if_no_id="Unknown", if_no_job="No Job")
crewmemberData["assignment"] = H.get_assignment(if_no_id="Unknown", if_no_job="No Job")
crewmemberData["is_command"] = (crewmemberData["assignment"] in bold_jobs)
crewmemberData["is_security"] = (crewmemberData["assignment"] in security_jobs_list)
crewmemberData["is_command"] = (crewmemberData["rank"] in bold_jobs)
crewmemberData["is_security"] = (crewmemberData["rank"] in security_jobs_list)

if(C.sensor_mode >= SUIT_SENSOR_BINARY)
crewmemberData["dead"] = H.stat == DEAD
Expand Down

0 comments on commit 487efda

Please sign in to comment.