mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-29 11:32:13 +00:00
9 lines
414 B
Plaintext
9 lines
414 B
Plaintext
/mob/living/Logout()
|
|
..()
|
|
if (mind)
|
|
if(!key) //key and mind have become seperated. I believe this is for when a staff member aghosts.
|
|
mind.active = 0 //This is to stop say, a mind.transfer_to call on a corpse causing a ghost to re-enter its body.
|
|
//This tags a player as SSD. See appropriate life.dm files for furthering SSD effects such as falling asleep.
|
|
if(mind.active)
|
|
player_logged = 1
|