From 96ed1cc123726295adadee042172a2436580cb40 Mon Sep 17 00:00:00 2001 From: Lucy Date: Wed, 11 Sep 2024 04:48:56 -0400 Subject: [PATCH] Fix borer forced speech --- .../modules/antagonists/borers/code/abilities/force_speech.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/monkestation/code/modules/antagonists/borers/code/abilities/force_speech.dm b/monkestation/code/modules/antagonists/borers/code/abilities/force_speech.dm index 4e21189429a3..9932ecb0e7e3 100644 --- a/monkestation/code/modules/antagonists/borers/code/abilities/force_speech.dm +++ b/monkestation/code/modules/antagonists/borers/code/abilities/force_speech.dm @@ -13,11 +13,10 @@ if(!.) return FALSE var/mob/living/basic/cortical_borer/cortical_owner = owner - var/borer_message = input(cortical_owner, "What would you like to force your host to say?", "Force Speak") as message|null + var/borer_message = trimtext(tgui_input_text(cortical_owner, "What would you like to force your host to say?", "Force Speak", encode = FALSE)) if(!borer_message) owner.balloon_alert(owner, "no message given") return - borer_message = sanitize(borer_message) var/mob/living/carbon/human/cortical_host = cortical_owner.human_host to_chat(cortical_host, span_boldwarning("Your voice moves without your permission!")) cortical_host.adjustOrganLoss(ORGAN_SLOT_BRAIN, 2 * cortical_owner.host_harm_multiplier, maximum = BRAIN_DAMAGE_SEVERE)