From b1621bf9cbb5ef22650dbecf26a7b481d25428d7 Mon Sep 17 00:00:00 2001 From: Casper3667 <8396443+Casper3667@users.noreply.github.com> Date: Sun, 19 Dec 2021 05:11:02 +0100 Subject: [PATCH] fixes problems with the sechud record (#12839) Co-authored-by: TGW Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com> --- code/modules/mob/living/carbon/human/human.dm | 3 ++- html/changelogs/SecHudFix.yml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/SecHudFix.yml diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 03226bb7b97..6bfd0284efd 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -613,7 +613,8 @@ var/datum/record/general/R = SSrecords.find_record("name", perpname) if(istype(R) && istype(R.security)) if(hasHUD(usr,"security")) - to_chat(usr, "Name: [R.name]] Criminal Status: [R.security.criminal]") + to_chat(usr, "Name: [R.name]") + to_chat(usr, "Criminal Status: [R.security.criminal]") to_chat(usr, "Crimes: [R.security.crimes]") to_chat(usr, "Notes: [R.security.notes]") to_chat(usr, "\[View Comment Log\]") diff --git a/html/changelogs/SecHudFix.yml b/html/changelogs/SecHudFix.yml new file mode 100644 index 00000000000..1eef98982c1 --- /dev/null +++ b/html/changelogs/SecHudFix.yml @@ -0,0 +1,6 @@ +author: TheGreyWolf + +delete-after: True + +changes: + - bugfix: "Fixes some problems when checking the security record of someone using the security hud."