From 542cfa919bd0f2e751a273e32c4a49d3d5e1cf35 Mon Sep 17 00:00:00 2001 From: PopGamer46 Date: Tue, 28 Mar 2023 22:45:22 +0300 Subject: [PATCH] =?UTF-8?q?fixes=20voice=20analyzer=20issues=20with=20clow?= =?UTF-8?q?n=C2=B4s=20different=20font=20speech=20(#20605)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * clown recording working on for clown fix * Update code/modules/assembly/voice.dm Co-authored-by: Farie82 --------- Co-authored-by: Farie82 --- code/modules/assembly/voice.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/assembly/voice.dm b/code/modules/assembly/voice.dm index 0670293bacb..8032d5c4932 100644 --- a/code/modules/assembly/voice.dm +++ b/code/modules/assembly/voice.dm @@ -28,7 +28,10 @@ return if(listening) - recorded = msg + if(findtext(msg, "")) + recorded = strip_html_properly(msg) + else + recorded = msg recorded_type = type listening = FALSE var/turf/T = get_turf(src) //otherwise it won't work in hand