Merge pull request #8655 from volas/sanitize_procs2

sanitize(), part 2
This commit is contained in:
PsiOmegaDelta
2015-04-06 15:16:17 +02:00
25 changed files with 36 additions and 33 deletions
+1 -1
View File
@@ -406,7 +406,7 @@
if(type in diseases) // Make sure this is a disease
D = new type(0, null)
var/list/data = list("viruses"=list(D))
var/name = sanitizeSafe(input(usr,"Name:","Name the culture",D.name))
var/name = sanitizeSafe(input(usr,"Name:","Name the culture",D.name), MAX_NAME_LEN)
if(!name || name == " ") name = D.name
B.name = "[name] culture bottle"
B.desc = "A small bottle. Contains [D.agent] culture in synthblood medium."