Skip to content

Commit

Permalink
fix catatonic (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapu1178 authored Aug 22, 2024
1 parent ba93634 commit ad1d8e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/mob/living/carbon/human/examine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
if (length(status_examines))
. += status_examines

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

if(getorgan(/obj/item/organ/brain))

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

0 comments on commit ad1d8e9

Please sign in to comment.