Prevents mobs from emoting while dead (#22470)

This commit is contained in:
Luc
2023-09-18 13:50:58 -04:00
committed by GitHub
parent 0bd97b3e73
commit 788dd0fa00

View File

@@ -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