From 4fb589ba7b5ba3d800c8e0824ef6a9366f74b113 Mon Sep 17 00:00:00 2001 From: Watermelon914 <37270891+Watermelon914@users.noreply.github.com> Date: Wed, 1 Sep 2021 00:39:27 +0100 Subject: [PATCH] fixes html execution with circuits (#61143) Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com> --- code/modules/wiremod/components/action/speech.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/wiremod/components/action/speech.dm b/code/modules/wiremod/components/action/speech.dm index 6732a2058a9..8a234f7f609 100644 --- a/code/modules/wiremod/components/action/speech.dm +++ b/code/modules/wiremod/components/action/speech.dm @@ -34,7 +34,7 @@ var/atom/movable/shell = parent.shell // Prevents appear as the individual component if there is a shell. if(shell) - shell.say(message.value) + shell.say(html_encode(message.value)) else say(message.value) TIMER_COOLDOWN_START(parent, COOLDOWN_CIRCUIT_SPEECH, speech_cooldown)