Skip to content

Commit

Permalink
[MIRROR] humans now have soul departed desc when brainless or when th…
Browse files Browse the repository at this point in the history
…e client is disconnected [MDB IGNORE](#655)

* humans now have soul departed desc when brainless or when the client is disconnected (#79730)

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Fikou <[email protected]>
  • Loading branch information
3 people authored Nov 16, 2023
1 parent e9238c5 commit 7959dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
var/t_his = p_their()
var/t_is = p_are()
//This checks to see if the body is revivable
if(key || !get_organ_by_type(/obj/item/organ/internal/brain) || ghost?.can_reenter_corpse || HAS_TRAIT(src, TRAIT_MIND_TEMPORARILY_GONE))
if(get_organ_by_type(/obj/item/organ/internal/brain) && (client || HAS_TRAIT(src, TRAIT_MIND_TEMPORARILY_GONE) || (ghost?.can_reenter_corpse && ghost?.client)))
return span_deadsay("[t_He] [t_is] limp and unresponsive; there are no signs of life...")
else
return span_deadsay("[t_He] [t_is] limp and unresponsive; there are no signs of life and [t_his] soul has departed...")
Expand Down

0 comments on commit 7959dc0

Please sign in to comment.