From 788dd0fa002e94c9bf7b7697c212fe013d77c480 Mon Sep 17 00:00:00 2001 From: Luc <89928798+lewcc@users.noreply.github.com> Date: Mon, 18 Sep 2023 13:50:58 -0400 Subject: [PATCH] Prevents mobs from emoting while dead (#22470) --- code/modules/mob/mob_emote.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/mob_emote.dm b/code/modules/mob/mob_emote.dm index 0c350fd2e7e..d628fe9af49 100644 --- a/code/modules/mob/mob_emote.dm +++ b/code/modules/mob/mob_emote.dm @@ -29,7 +29,7 @@ var/silenced = FALSE for(var/datum/emote/P in key_emotes) // can this mob run the emote at all? - if(!P.can_run_emote(src, intentional)) + if(!P.can_run_emote(src, intentional = intentional)) continue if(!P.check_cooldown(src, intentional)) // if an emote's on cooldown, don't spam them with messages of not being able to use it