Skip to content

Commit

Permalink
Merge pull request #2541 from Bird-Lounge/upstream-merge-81386
Browse files Browse the repository at this point in the history
[MIRROR]  Fix last words being double-encoded when done from the alert popup
  • Loading branch information
CliffracerX authored Feb 11, 2024
2 parents 9fea33b + c58a698 commit ac89ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/_onclick/hud/alert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ or shoot a gun to move around via Newton's 3rd Law of Motion."
var/mob/living/living_owner = owner
var/last_whisper
if(!HAS_TRAIT(living_owner, TRAIT_SUCCUMB_OVERRIDE))
last_whisper = tgui_input_text(usr, "Do you have any last words?", "Goodnight, Sweet Prince")
last_whisper = tgui_input_text(usr, "Do you have any last words?", "Goodnight, Sweet Prince", encode = FALSE) // saycode already handles sanitization
if(isnull(last_whisper))
if(!HAS_TRAIT(living_owner, TRAIT_SUCCUMB_OVERRIDE))
return
Expand Down

0 comments on commit ac89ffe

Please sign in to comment.