mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
fixes infinite respawns (#37168)
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
verbs -= /mob/living/carbon/verb/mob_sleep
|
||||
|
||||
/mob/living/carbon/brain/Destroy()
|
||||
if(key) //If there is a mob connected to this thing. Have to check key twice to avoid false death reporting.
|
||||
if(key || mind.key)
|
||||
if(!key)
|
||||
src.key = mind.key
|
||||
if(stat!=DEAD) //If not dead.
|
||||
death(1) //Brains can die again. AND THEY SHOULD AHA HA HA HA HA HA
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user