fixes html execution with circuits (#61143)

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
Watermelon914
2021-09-01 00:39:27 +01:00
committed by GitHub
parent b4b7fdff77
commit 4fb589ba7b
@@ -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)