From c459200e7ce6c684a3a6cdee6cb671bbfba04c59 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 25 Sep 2021 01:22:16 +0200 Subject: [PATCH] [MIRROR] Fixes the logging text on respawn to correctly say it's respawn instead of "abandon mob" (#8379) * Fixes the logging text on respawn to correctly say it's respawn instead of "abandon mob" * Update mob.dm Co-authored-by: Iamgoofball Co-authored-by: Gandalf --- code/modules/mob/mob.dm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 823fa29a8f4..2c7b8eb7910 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -693,27 +693,28 @@ to_chat(usr, span_boldnotice("You must be dead to use this!")) return + //SKYRAT EDIT ADDITION if(ckey) if(is_banned_from(ckey, BAN_RESPAWN)) to_chat(usr, "You are respawn banned, you can't respawn!") return - - log_game("[key_name(usr)] used abandon mob.") + //SKYRAT EDIT END + log_game("[key_name(usr)] used the respawn button.") to_chat(usr, span_boldnotice("Please roleplay correctly!")) if(!client) - log_game("[key_name(usr)] AM failed due to disconnect.") + log_game("[key_name(usr)] respawn failed due to disconnect.") return client.screen.Cut() client.screen += client.void if(!client) - log_game("[key_name(usr)] AM failed due to disconnect.") + log_game("[key_name(usr)] respawn failed due to disconnect.") return var/mob/dead/new_player/M = new /mob/dead/new_player() if(!client) - log_game("[key_name(usr)] AM failed due to disconnect.") + log_game("[key_name(usr)] respawn failed due to disconnect.") qdel(M) return