Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion code/modules/mob/living/carbon/spirit/spirit.dm
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,14 @@
. = FALSE
if(QDELETED(corpse) || (corpse.stat != DEAD))
return
// funeral + buried will make Journey to Underworld function as return to lobby
if(ishuman(corpse))
var/mob/living/carbon/human/human_corpse = corpse
if(!human_corpse.funeral)
human_corpse.funeral = TRUE
. = TRUE
// Animals have no mind so we have no ghost or spirit to talk to. They still are 'pacified' though.
else if(isanimal(corpse))
return TRUE
var/datum/mind/corpse_mind = get_mind(corpse, include_last = TRUE)
if(corpse_mind?.remove_antag_datum(/datum/antagonist/zombie))
. = TRUE
Expand Down
Loading