diff --git a/code/modules/mob/new_player/login.dm b/code/modules/mob/new_player/login.dm index 90e866fc414..5ec996c18a8 100644 --- a/code/modules/mob/new_player/login.dm +++ b/code/modules/mob/new_player/login.dm @@ -1,4 +1,10 @@ /mob/new_player/Login() + // Happens sometimes + if(QDELETED(src)) + var/mob/new_player/replacement = new /mob/new_player() + replacement.key = key + return + update_Login_details() //handles setting lastKnownIP and computer_id for use by the ban systems as well as checking for multikeying if(GLOB.join_motd) GLOB.join_motd = GLOB.is_valid_url.Replace(GLOB.join_motd, span_linkify("$1"))