Files
Paradise/code/modules/mob/new_player/logout.dm
T
KalevTait 420e8f8d99 Code Readability - Mobs (misc) (#18266)
* mobs misc

* remove implied src
2022-07-11 20:28:19 +01:00

8 lines
290 B
Plaintext

/mob/new_player/Logout()
ready = FALSE
..()
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