remove old inputs (#17008)

This commit is contained in:
Kashargul
2025-02-01 14:23:25 -05:00
committed by GitHub
parent de67cc1f74
commit bbed406b2e
63 changed files with 151 additions and 131 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ Book Cart End
src.name = newtitle
src.title = newtitle
if("Contents")
var/content = sanitize(input(user, "Write your book's contents (HTML NOT allowed):") as message|null, MAX_BOOK_MESSAGE_LEN)
var/content = sanitize(tgui_input_text(user, "Write your book's contents (HTML NOT allowed):", max_length=MAX_BOOK_MESSAGE_LEN, multiline=TRUE), MAX_BOOK_MESSAGE_LEN)
if(!content)
to_chat(user, "The content is invalid.")
return