From 3cdec4d2afbddd15bbf16ed0f2702f74809c43d4 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 17 Oct 2020 20:20:12 +0200 Subject: [PATCH] [MIRROR] Medical kiosks now properly show brain trauma to others. (#1352) * Medical kiosks operated by telekinisis can now properly show brain traumas. (#54420) If someone with a brain trauma is scanned by a medical kiosk, and then the kiosk is examined by someone else (who does not have a brain trauma), the kiosk would incorrectly show them that the patient has no traumas. * Medical kiosks now properly show brain trauma to others. Co-authored-by: Mike Long --- code/game/machinery/medical_kiosk.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/medical_kiosk.dm b/code/game/machinery/medical_kiosk.dm index 1cc623a1cc8..22ea0e4016a 100644 --- a/code/game/machinery/medical_kiosk.dm +++ b/code/game/machinery/medical_kiosk.dm @@ -211,7 +211,7 @@ var/clone_loss = altPatient.getCloneLoss() var/brain_loss = altPatient.getOrganLoss(ORGAN_SLOT_BRAIN) var/brain_status = "Brain patterns normal." - if(LAZYLEN(user.get_traumas())) + if(LAZYLEN(altPatient.get_traumas())) var/list/trauma_text = list() for(var/datum/brain_trauma/B in altPatient.get_traumas()) var/trauma_desc = ""