Files
GS13NG/code/modules/mob/living/logout.dm
2018-01-04 01:03:39 -05:00

7 lines
294 B
Plaintext

/mob/living/Logout()
update_z(null)
if(ranged_ability && client)
ranged_ability.remove_mousepointer(client)
..()
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.