From 07cc28af8e51dd74d4f6976d435bc6988ca98cce Mon Sep 17 00:00:00 2001 From: GinjaNinja32 Date: Thu, 23 Apr 2015 08:03:07 +0100 Subject: [PATCH] Fixes dionaea always using the verb "says". Not sure why, but speech_problem_flag is being set to 1 for dionaea, and only dionaea. Fixes #8952 --- code/modules/mob/living/carbon/human/say.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/carbon/human/say.dm b/code/modules/mob/living/carbon/human/say.dm index 20c5183d72..0554b44c6c 100644 --- a/code/modules/mob/living/carbon/human/say.dm +++ b/code/modules/mob/living/carbon/human/say.dm @@ -65,7 +65,7 @@ if(speech_problem_flag) if(!speaking || !(speaking.flags & NO_STUTTER)) - var/list/handle_r = handle_speech_problems(message) + var/list/handle_r = handle_speech_problems(message, verb) message = handle_r[1] verb = handle_r[2] speech_problem_flag = handle_r[3] @@ -271,10 +271,9 @@ return verb -/mob/living/carbon/human/proc/handle_speech_problems(var/message) +/mob/living/carbon/human/proc/handle_speech_problems(var/message, var/verb = "says") var/list/returns[3] - var/verb = "says" var/handled = 0 if(silent || (sdisabilities & MUTE)) message = ""