From 536ddad052341173d61d52e61e8d1e7349e955c6 Mon Sep 17 00:00:00 2001 From: MarcellusPye Date: Sun, 11 Jun 2017 19:17:32 +1200 Subject: [PATCH] Hear formatting fix (#7469) * Initial Attempt * Fixed ending formatting * Make it work Screw byond strings * Switches from camelcase to lowercase * Uses strip_html_properly --- code/modules/mob/hear_say.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/hear_say.dm b/code/modules/mob/hear_say.dm index 568033f3606..062e1f4d44e 100644 --- a/code/modules/mob/hear_say.dm +++ b/code/modules/mob/hear_say.dm @@ -168,6 +168,7 @@ /mob/proc/hear_sleep(var/message) var/heard = "" if(prob(15)) + message = strip_html_properly(message) var/list/punctuation = list(",", "!", ".", ";", "?") var/list/messages = splittext(message, " ") var/R = rand(1, messages.len)