diff --git a/code/modules/modular_computers/file_system/programs/generic/records.dm b/code/modules/modular_computers/file_system/programs/generic/records.dm index 7ac4d833479..1e9b6401439 100644 --- a/code/modules/modular_computers/file_system/programs/generic/records.dm +++ b/code/modules/modular_computers/file_system/programs/generic/records.dm @@ -320,6 +320,12 @@ if("security") if(!(edit_type & RECORD_SECURITY)) return FALSE + if("physical_status") + if(!((edit_type & RECORD_MEDICAL) || (edit_type & RECORD_GENERAL))) + return FALSE + if("mental_status") + if(!((edit_type & RECORD_MEDICAL) || (edit_type & RECORD_GENERAL))) + return FALSE if("medical") if(!(edit_type & RECORD_MEDICAL)) return FALSE diff --git a/html/changelogs/MedBugFix.yml b/html/changelogs/MedBugFix.yml new file mode 100644 index 00000000000..015ffd66e4d --- /dev/null +++ b/html/changelogs/MedBugFix.yml @@ -0,0 +1,6 @@ +author: TheGreyWolf + +delete-after: True + +changes: + - bugfix: "Fixes medical's ability to set the patient's status in medical records completely."