mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
18 lines
438 B
Plaintext
18 lines
438 B
Plaintext
/mob/new_player/Logout()
|
|
ready = 0
|
|
|
|
// see login.dm
|
|
if(my_client)
|
|
my_client.screen -= lobby_image
|
|
my_client = null
|
|
|
|
..()
|
|
|
|
if(created_for)
|
|
del_mannequin(created_for)
|
|
|
|
if(!spawning)//Here so that if they are spawning and log out, the other procs can play out and they will have a mob to come back to.
|
|
key = null//We null their key before deleting the mob, so they are properly kicked out.
|
|
qdel(src)
|
|
return
|