Files
GS13NG/code/modules/mob/living/logout.dm
2020-01-12 14:28:01 +00:00

5 lines
213 B
Plaintext

/mob/living/Logout()
update_z(null)
..()
if(!key && mind) //key and mind have become separated.
mind.active = 0 //This is to stop say, a mind.transfer_to call on a corpse causing a ghost to re-enter its body.