mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[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 <iamgoofball@gmail.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
@@ -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, "<span class='boldnotice'>You are respawn banned, you can't respawn!</span>")
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user