Changelings can't do emotes while faking being dead. (#9403)

This commit is contained in:
mikomyazaki
2020-07-20 10:45:48 +02:00
committed by GitHub
parent 88254bf67b
commit 3e34a31ecb
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
/mob/proc/emote(var/act, var/m_type, var/message)
// s-s-snowflake
if(src.stat == DEAD && act != "deathgasp")
if((src.stat == DEAD || src.status_flags & FAKEDEATH) && act != "deathgasp")
return
if(usr == src) //client-called emote
if (client && (client.prefs.muted & MUTE_IC))