Shortened MAX_NAME_LEN to 32. Change some MAX_MESSAGE_LEN's to MAX_NAME_LEN's

This commit is contained in:
Erthilo
2012-06-02 22:53:19 +01:00
parent 3787aa4072
commit 218bf6643c
11 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -62,7 +62,7 @@
name = "[name] ([str])"
update_icon()
if("Description")
var/str = copytext(sanitize(input(usr,"Label text?","Set label","")),1,MAX_NAME_LEN)
var/str = copytext(sanitize(input(usr,"Label text?","Set label","")),1,MAX_MESSAGE_LEN)
if(!str || !length(str))
usr << "\red Invalid text."
return
@@ -150,7 +150,7 @@
name = "[name] ([str])"
update_icon()
if("Description")
var/str = copytext(sanitize(input(usr,"Label text?","Set label","")),1,MAX_NAME_LEN)
var/str = copytext(sanitize(input(usr,"Label text?","Set label","")),1,MAX_MESSAGE_LEN)
if(!str || !length(str))
usr << "\red Invalid text."
return