diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 95fc5aad0f..87dbadf800 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -397,16 +397,11 @@ usr << "There isn't enough space left on \the [src] to write anything." return - var/t = sanitize(input("Enter what you want to write:", "Write", null, null) as message, extra = 0) + var/t = sanitize(input("Enter what you want to write:", "Write", null, null) as message, MAX_PAPER_MESSAGE_LEN, extra = 0) if(!t) return - if(t > free_space) - var/textalert = "[copytext(t, free_space-5, free_space)] ..." - alert(usr, "You've gone over the allowed amount of text! Here's where you're about to be cut off: [textalert]", "", "Okay!") - t = sanitize(input("Enter what you want to write:", "Write", null, textalert) as message, extra = 0) - var/obj/item/i = usr.get_active_hand() // Check to see if he still got that darn pen, also check if he's using a crayon or pen. var/iscrayon = 0 if(!istype(i, /obj/item/weapon/pen))