mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
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.
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
H << "<span class='warning'>You cut yourself on the paper! Ahhhh! Ahhhhh!</span>"
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user