mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 22:54:32 +01:00
actually makes new players fully GC (#20525)
This commit is contained in:
@@ -18,6 +18,11 @@
|
||||
GLOB.mob_list += src
|
||||
return INITIALIZE_HINT_NORMAL
|
||||
|
||||
/mob/new_player/Destroy()
|
||||
if(mind)
|
||||
mind.current = null // We best null their mind as well, otherwise /every/ single new player is going to explode the server a little more going in/out of the round
|
||||
return ..()
|
||||
|
||||
/mob/new_player/verb/new_player_panel()
|
||||
set src = usr
|
||||
|
||||
@@ -198,7 +203,6 @@
|
||||
observer.name = observer.real_name
|
||||
observer.key = key
|
||||
observer.add_to_respawnable_list()
|
||||
mind.current = null
|
||||
qdel(src)
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
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.
|
||||
mind.current = null // We best null their mind as well, otherwise /every/ single new player is going to explode the server a little more by logging out
|
||||
key = null//We null their key before deleting the mob, so they are properly kicked out.
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user