mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
fixes farting dead (#4823)
fixes #4821 wasn't anything to do with the deathgasp fix, and it was only the *me emote, but yeah, not good 🆑 VampyrBytes fix: No more *me emoting from your corpse! / 🆑
This commit is contained in:
@@ -552,6 +552,7 @@ one is used in /datum/emote_handler/customEmote().
|
||||
/datum/emote/custom/prevented(var/mob/user)
|
||||
if(!user.use_me)
|
||||
return "you are prevented from using custom emotes"
|
||||
return ..()
|
||||
|
||||
// Yeah, no
|
||||
/datum/emote/custom/createSelfMessage(var/mob/user, var/list/params, var/message = "")
|
||||
@@ -566,9 +567,8 @@ one is used in /datum/emote_handler/customEmote().
|
||||
emoteSpanClass = "game deadsay"
|
||||
|
||||
/datum/emote/custom/ghost/prevented(var/mob/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
if(!user.use_me)
|
||||
return "you are prevented from using custom emotes"
|
||||
if(user.client.prefs.muted & MUTE_DEADCHAT)
|
||||
return "you are muted from deadchat"
|
||||
if(!(user.client.prefs.toggles & CHAT_DEAD))
|
||||
|
||||
Reference in New Issue
Block a user