-Added/extended some delays for creating solid structures from stacks

-Fixed retitling books sanitizing itself twice. Should also stop the unwanted & code

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4163 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
ericgfwong@hotmail.com
2012-07-24 06:31:13 +00:00
parent 120510d4fa
commit 6642a5353b
3 changed files with 10 additions and 10 deletions

View File

@@ -200,13 +200,13 @@
var/choice = input("What would you like to change?") in list("Title", "Contents", "Author", "Cancel")
switch(choice)
if("Title")
var/newtitle = copytext(sanitize(input("Write a new title:") as text|null),1,MAX_MESSAGE_LEN)
var/newtitle = copytext(reject_bad_text(input("Write a new title:") as text|null),1,MAX_MESSAGE_LEN)
if(!newtitle)
usr << "The title is invalid."
return
else
src.name = reject_bad_text(newtitle)
src.title = reject_bad_text(newtitle)
src.name = newtitle
src.title = newtitle
if("Contents")
var/content = strip_html(input("Write your book's contents (HTML NOT allowed):"),8192) as message|null
if(!content)