From 6a83de709c2cc15367977dc92e8a6a0d05ca1ab0 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 24 Nov 2020 11:37:08 +0100 Subject: [PATCH] [MIRROR] Fix misleading examine messages on the head without body (#1811) * Detect if ghost reentered the brain (#54975) * Fix misleading examine messages on the head without body Co-authored-by: antropod --- code/modules/surgery/bodyparts/head.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/surgery/bodyparts/head.dm b/code/modules/surgery/bodyparts/head.dm index eea421738d2..d5d220b6f2a 100644 --- a/code/modules/surgery/bodyparts/head.dm +++ b/code/modules/surgery/bodyparts/head.dm @@ -74,7 +74,7 @@ else if(brainmob?.health <= HEALTH_THRESHOLD_DEAD) . += "It's leaking some kind of... clear fluid? The brain inside must be in pretty bad shape." else if(brainmob) - if(brainmob.get_ghost(FALSE, TRUE)) + if(brainmob.key || brainmob.get_ghost(FALSE, TRUE)) . += "Its muscles are twitching slightly... It seems to have some life still in it." else . += "It's completely lifeless. Perhaps there'll be a chance for them later."