From 1f77cba62f234bc8c8cd30f44bcdc1fa067dd2b5 Mon Sep 17 00:00:00 2001 From: Shadow-Quill <44811257+Shadow-Quill@users.noreply.github.com> Date: Fri, 17 Jan 2020 02:48:27 -0600 Subject: [PATCH] Alert Revert (#6631) --- code/modules/paperwork/paper.dm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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))