From 55b8cc876741b807d3d616d240f307a6c467e80b Mon Sep 17 00:00:00 2001 From: Casper3667 <8396443+Casper3667@users.noreply.github.com> Date: Thu, 4 Jun 2026 23:50:32 +0200 Subject: [PATCH] Fixes health scanning not working for ghosts (#22589) fixes https://github.com/Aurorastation/Aurora.3/issues/22584 --- code/datums/components/medical/medicalAnalyzer.dm | 2 +- html/changelogs/HealthCheckFix.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/HealthCheckFix.yml diff --git a/code/datums/components/medical/medicalAnalyzer.dm b/code/datums/components/medical/medicalAnalyzer.dm index 02610a1e22b..7a8ef7fb81c 100644 --- a/code/datums/components/medical/medicalAnalyzer.dm +++ b/code/datums/components/medical/medicalAnalyzer.dm @@ -85,7 +85,7 @@ return TRUE /datum/component/health_analyzer/ui_status(mob/user, datum/ui_state/state) - var/obj/item/rig_module/containing_rig_module = owner.loc + var/obj/item/rig_module/containing_rig_module = owner?.loc if(!containing_rig_module) return ..() else if(containing_rig_module) diff --git a/html/changelogs/HealthCheckFix.yml b/html/changelogs/HealthCheckFix.yml new file mode 100644 index 00000000000..be85c518ae3 --- /dev/null +++ b/html/changelogs/HealthCheckFix.yml @@ -0,0 +1,6 @@ +author: TheGreyWolf + +delete-after: True + +changes: + - bugfix: "Added a changelog editing system that should cause fewer conflicts and more accurate timestamps."