From ec49b6d72455975406ed20ae65b47e3e16644635 Mon Sep 17 00:00:00 2001 From: Deantwo Date: Wed, 21 Jan 2015 13:13:13 +0100 Subject: [PATCH] Paper Name Limit - Added arguments to the stripped_input call. -- usr, no idea why it worked without this. -- MAX_NAME_LEN, so you can't make paper with super long names. --- code/modules/paperwork/paper.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 53440fd32f2..db3b9544368 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -76,7 +76,7 @@ H << "You cut yourself on the paper! Ahhhh! Ahhhhh!" H.damageoverlaytemp = 9001 return - var/n_name = stripped_input("What would you like to label the paper?", "Paper Labelling") + var/n_name = stripped_input(usr, "What would you like to label the paper?", "Paper Labelling", null, MAX_NAME_LEN) if((loc == usr && usr.stat == 0)) name = "paper[(n_name ? text("- '[n_name]'") : null)]" add_fingerprint(usr)