IRC message if client mob ends up in nullspace (#33004)

Only if no admins are online
This commit is contained in:
Jordan Brown
2017-11-24 05:56:22 -05:00
committed by CitadelStationBot
parent 9f7b3a11c3
commit fe1d69c35d
+4 -2
View File
@@ -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