Fixes out of memory runtime errors and excessive HTML parsing.

Announcements are no longer parsed twice, avoiding messages such as "T's nice".
Fixes the strip_html_properly proc, to avoid out of memory runtimes.
This commit is contained in:
PsiOmega
2015-02-15 18:03:25 +01:00
parent f1e36d5c06
commit a48545391a
5 changed files with 17 additions and 6 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ var/list/ai_verbs_default = list(
if(message_cooldown)
src << "Please allow one minute to pass between announcements."
return
var/input = stripped_input(usr, "Please write a message to announce to the station crew.", "A.I. Announcement")
var/input = input(usr, "Please write a message to announce to the station crew.", "A.I. Announcement")
if(!input)
return