Encode changes (#18052)

* change encode

* guhh

* .

* .

* .

* Update code/game/antagonist/antagonist_objectives.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/clothing/spacesuits/rig/modules/specific/voice.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/news/new_newspaper.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/admin/DB ban/functions.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/tgui/modules/communications.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/mob/living/carbon/human/human.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/modules/mob/living/carbon/human/human.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
Kashargul
2025-08-05 00:19:22 +02:00
committed by GitHub
parent 15845bad9a
commit 39a0bcd60e
199 changed files with 364 additions and 400 deletions
@@ -112,7 +112,7 @@ var/warrant_uid = 0
var/namelist = list()
for(var/datum/data/record/t in GLOB.data_core.general)
namelist += t.fields["name"]
var/new_name = sanitize(tgui_input_list(ui.user, "Please input name:", "Name Choice", namelist))
var/new_name = sanitize(tgui_input_list(ui.user, "Please input name:", "Name Choice", namelist), encode = FALSE)
if(tgui_status(ui.user, state) == STATUS_INTERACTIVE)
if (!new_name)
return
@@ -120,7 +120,7 @@ var/warrant_uid = 0
if("editwarrantnamecustom")
. = TRUE
var/new_name = sanitize(tgui_input_text(ui.user, "Please input name"))
var/new_name = tgui_input_text(ui.user, "Please input name", max_length = MAX_MESSAGE_LEN)
if(tgui_status(ui.user, state) == STATUS_INTERACTIVE)
if (!new_name)
return
@@ -128,7 +128,7 @@ var/warrant_uid = 0
if("editwarrantcharges")
. = TRUE
var/new_charges = sanitize(tgui_input_text(ui.user, "Please input charges", "Charges", activewarrant.fields["charges"]))
var/new_charges = tgui_input_text(ui.user, "Please input charges", "Charges", activewarrant.fields["charges"], max_length = MAX_MESSAGE_LEN)
if(tgui_status(ui.user, state) == STATUS_INTERACTIVE)
if (!new_charges)
return