Theoretically fix new player runtime (#17739)

This commit is contained in:
ShadowLarkens
2025-05-24 15:55:46 +02:00
committed by GitHub
parent 8bba1b4dc7
commit 3986e4c5a5
+6
View File
@@ -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"))