Revert "fixes infinite respawns (#37168)" (#37379)

This reverts commit cc49e79a86.
This commit is contained in:
Peter Wedder
2025-01-14 15:56:49 +02:00
committed by GitHub
parent c43721ff6e
commit 157af256ff

View File

@@ -19,9 +19,7 @@
verbs -= /mob/living/carbon/verb/mob_sleep
/mob/living/carbon/brain/Destroy()
if(key || mind.key)
if(!key)
src.key = mind.key
if(key) //If there is a mob connected to this thing. Have to check key twice to avoid false death reporting.
if(stat!=DEAD) //If not dead.
death(1) //Brains can die again. AND THEY SHOULD AHA HA HA HA HA HA
..()