From fe1d69c35d28bb0a77331601094b5c5eb9546fe5 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Fri, 24 Nov 2017 05:56:22 -0500 Subject: [PATCH 1/2] IRC message if client mob ends up in nullspace (#33004) Only if no admins are online --- code/modules/mob/living/life.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/life.dm b/code/modules/mob/living/life.dm index 04a10a9ad6..1f0895a7f5 100644 --- a/code/modules/mob/living/life.dm +++ b/code/modules/mob/living/life.dm @@ -13,9 +13,11 @@ if(!loc) if(client) for(var/obj/effect/landmark/error/E in GLOB.landmarks_list) - loc = E.loc + forceMove(E.loc) break - message_admins("[key_name_admin(src)] was found to have no .loc with an attached client, if the cause is unknown it would be wise to ask how this was accomplished.") + var/msg = "[key_name_admin(src)] was found to have no .loc with an attached client, if the cause is unknown it would be wise to ask how this was accomplished." + message_admins(msg) + send2irc_adminless_only("Mob", msg, R_ADMIN) log_game("[key_name(src)] was found to have no .loc with an attached client.") else return