mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user