Files
8a9c5797a0 [MIRROR] Fixes new players harddeling when the player logs out (#2013)
* Fixes new players harddeling when the player logs out (#55295)

* Fixes new players harddeling when the player logs out

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2020-12-02 23:52:03 +01:00

9 lines
350 B
Plaintext

/mob/dead/new_player/Logout()
ready = 0
..()
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_NULL(mind) //Clean out mind, yes this fucking sucks
qdel(src)
return