mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
[MIRROR] Encode changes (#11301)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
5e6a4639d0
commit
4e2361f8df
@@ -130,7 +130,7 @@
|
||||
else if(href_list["import"])
|
||||
var/t = ""
|
||||
do
|
||||
t = html_encode(tgui_input_text(usr, "Please paste the entire song, formatted:", text("[]", name), t, multiline = TRUE, prevent_enter = TRUE))
|
||||
t = tgui_input_text(usr, "Please paste the entire song, formatted:", text("[]", name), t, multiline = TRUE, prevent_enter = TRUE)
|
||||
if(!in_range(parent, usr))
|
||||
return
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
INVOKE_ASYNC(src, PROC_REF(start_playing), usr)
|
||||
|
||||
else if(href_list["newline"])
|
||||
var/newline = html_encode(tgui_input_text(usr, "Enter your line: ", parent.name))
|
||||
var/newline = tgui_input_text(usr, "Enter your line: ", parent.name)
|
||||
if(!newline || !in_range(parent, usr))
|
||||
return
|
||||
if(lines.len > MUSIC_MAXLINES)
|
||||
|
||||
Reference in New Issue
Block a user