Introduces max record length for record, converts uses of max book length to max paper length barring books

This commit is contained in:
Yoshax
2016-06-27 16:26:31 +01:00
parent d395d654b2
commit 38200a3e20
5 changed files with 8 additions and 7 deletions

View File

@@ -134,7 +134,7 @@
if(P.name != "Blank Card")
user << "You cannot write on that card."
return
var/cardtext = sanitize(input(user, "What do you wish to write on the card?", "Card Editing") as text|null, MAX_BOOK_MESSAGE_LEN)
var/cardtext = sanitize(input(user, "What do you wish to write on the card?", "Card Editing") as text|null, MAX_PAPER_MESSAGE_LEN)
if(!cardtext)
return
P.name = cardtext