Tag client status in crew manifest

This commit is contained in:
psq95
2023-08-13 11:49:38 +01:00
parent c25dcb37aa
commit 8e09f3b9ca
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -90,7 +90,7 @@
if(foundrecord)
foundrecord.fields["rank"] = assignment
/datum/datacore/proc/manifest_modify_status(name, status)
/datum/datacore/proc/manifest_modify_status(name, status) // GS13
var/datum/data/record/foundrecord = find_record("name", name, GLOB.data_core.general)
if(foundrecord)
foundrecord.status = status
@@ -124,7 +124,7 @@
var/name = t.fields["name"]
var/rank = t.fields["rank"]
var/department = 0
status[name] = t.status
status[name] = t.status // GS13
if(rank in GLOB.command_positions)
heads[name] = rank
department = 1