From 8e09f3b9ca6acaa88307010b8aa37a536600e648 Mon Sep 17 00:00:00 2001 From: psq95 Date: Sun, 13 Aug 2023 11:49:38 +0100 Subject: [PATCH] Tag client status in crew manifest --- code/datums/datacore.dm | 4 ++-- code/modules/mob/living/carbon/life.dm | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index ac510331..b4352bf5 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -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 diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index d6a20a0d..0cb4879f 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -560,6 +560,7 @@ GLOBAL_LIST_INIT(ballmer_windows_me_msg, list("Yo man, what if, we like, uh, put var/restingpwr = 1 + 4 * resting + // GS13: Add client status to crew manifest if(ckey) if(!client && !(stat == DEAD)) if (!SSD)