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

@@ -7,7 +7,7 @@
src << "Only administrators may use this command."
return
var/input = sanitize(input(usr, "Enter the description of the custom event. Be descriptive. To cancel the event, make this blank or hit cancel.", "Custom Event", custom_event_msg) as message|null, MAX_BOOK_MESSAGE_LEN, extra = 0)
var/input = sanitize(input(usr, "Enter the description of the custom event. Be descriptive. To cancel the event, make this blank or hit cancel.", "Custom Event", custom_event_msg) as message|null, MAX_PAPER_MESSAGE_LEN, extra = 0)
if(!input || input == "")
custom_event_msg = null
log_admin("[usr.key] has cleared the custom event text.")