fixes problems with the sechud record (#12839)

Co-authored-by: TGW <mc-casper@hotmail.dk>
Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
Casper3667
2021-12-19 05:11:02 +01:00
committed by GitHub
co-authored by TGW Werner
parent b83e0f879e
commit b1621bf9cb
2 changed files with 8 additions and 1 deletions
@@ -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, "<b>Name:</b> [R.name]] <b>Criminal Status:</b> [R.security.criminal]")
to_chat(usr, "<b>Name:</b> [R.name]")
to_chat(usr, "<b>Criminal Status:</b> [R.security.criminal]")
to_chat(usr, "<b>Crimes:</b> [R.security.crimes]")
to_chat(usr, "<b>Notes:</b> [R.security.notes]")
to_chat(usr, "<a href='?src=\ref[src];secrecordComment=`'>\[View Comment Log\]</a>")
+6
View File
@@ -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."