remove sillyness

reject_bad_name( replaces sanitize(stripped_input(
plating added to the list of bad names
This commit is contained in:
Unfit
2015-07-31 12:19:21 +02:00
committed by d3athrow
parent d9ebe25a8f
commit 8e63fec2a8
2 changed files with 9 additions and 19 deletions

View File

@@ -200,7 +200,7 @@
if(last_char_group == 1)
t_out = copytext(t_out,1,length(t_out)) //removes the last character (in this case a space)
for(var/bad_name in list("space","floor","wall","r-wall","monkey","unknown","inactive ai")) //prevents these common metagamey names
for(var/bad_name in list("space","floor","wall","r-wall","monkey","unknown","inactive ai","plating")) //prevents these common metagamey names
if(cmptext(t_out,bad_name)) return //(not case sensitive)
return t_out