Skip to content

Commit ad1d8e9

Browse files
authored
fix catatonic (#1075)
1 parent ba93634 commit ad1d8e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

code/modules/mob/living/carbon/human/examine.dm

+3-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
if (length(status_examines))
129129
. += status_examines
130130

131-
var/appears_dead = FALSE
131+
var/appears_dead = isobserver(user)
132132
var/adjacent = get_dist(user, src) <= 1
133133
if(stat != CONSCIOUS || (HAS_TRAIT(src, TRAIT_FAKEDEATH)))
134134
if(!adjacent)
@@ -298,7 +298,8 @@
298298
if(HAS_TRAIT(src, TRAIT_SOFT_CRITICAL_CONDITION))
299299
msg += "[t_He] [t_is] barely conscious.\n"
300300

301-
if(getorgan(/obj/item/organ/brain))
301+
302+
if(stat != DEAD && getorgan(/obj/item/organ/brain))
302303
if(ai_controller?.ai_status == AI_STATUS_ON)
303304
msg += "[span_deadsay("[t_He] do[t_es]n't appear to be [t_him]self.")]\n"
304305
else if(!key)

0 commit comments

Comments
 (0)