Files
Polaris/code/modules/mob/new_player/logout.dm
Cerebulon 4568dc85d5 Ports high-res lobby screen system from Eris from Bay (#8401)
* Ports high-res lobby screen system from Eris from Bay

* ok fine we don't need a 5+ MB picture of my cat
2022-02-26 11:13:00 -08:00

14 lines
392 B
Plaintext

/mob/new_player/Logout()
ready = 0
// see login.dm
if(my_client)
using_map.hide_titlescreen(my_client)
my_client = null
..()
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