Skip to content

Commit

Permalink
Fix borer forced speech
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy committed Sep 11, 2024
1 parent fd3fb73 commit 96ed1cc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96ed1cc

Please sign in to comment.