More Input Conversion

This commit is contained in:
ItsSelis
2022-06-19 12:21:51 +02:00
parent a0e2db25bf
commit af64bcf406
98 changed files with 145 additions and 145 deletions
+1 -1
View File
@@ -188,7 +188,7 @@
if(P.name != "Blank Card")
to_chat(user,"<span class = 'notice'>You cannot write on that card.</span>")
return
var/cardtext = sanitize(input(user, "What do you wish to write on the card?", "Card Editing") as text|null, MAX_PAPER_MESSAGE_LEN)
var/cardtext = sanitize(tgui_input_text(user, "What do you wish to write on the card?", "Card Editing", null, MAX_PAPER_MESSAGE_LEN), MAX_PAPER_MESSAGE_LEN)
if(!cardtext)
return
P.name = cardtext