mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 19:15:11 +01:00
Input Conversion Part 1
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
else if(href_list["import"])
|
||||
var/t = ""
|
||||
do
|
||||
t = html_encode(input(usr, "Please paste the entire song, formatted:", text("[]", name), t) as message)
|
||||
t = html_encode(tgui_input_text(usr, "Please paste the entire song, formatted:", text("[]", name), t, multiline = TRUE))
|
||||
if(!in_range(parent, usr))
|
||||
return
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
INVOKE_ASYNC(src, .proc/start_playing, usr)
|
||||
|
||||
else if(href_list["newline"])
|
||||
var/newline = html_encode(input(usr, "Enter your line: ", parent.name) as text|null)
|
||||
var/newline = html_encode(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