Sigh. Fixes :S to work for AIs as well. SS13, WHY U NO KEEP LISTS TOGETHER.

Last commit for a while, promise.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3222 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-03-01 06:58:18 +00:00
parent 04c39436f2
commit 8b1fd91d9d
+2 -2
View File
@@ -15,13 +15,13 @@
return
if (length(message) >= 2)
if (copytext(message, 1, 3) == ":s")
if ((copytext(message, 1, 3) == ":s") || (copytext(message, 1, 3) == ":S"))
if(istype(src, /mob/living/silicon/pai))
return ..(message)
message = copytext(message, 3)
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))
robot_talk(message)
else if (copytext(message, 1, 3) == ":h")
else if ((copytext(message, 1, 3) == ":h") || (copytext(message, 1, 3) == ":H"))
if(isAI(src)&&client)//For patching directly into AI holopads.
message = copytext(message, 3)
message = trim(copytext(sanitize(message), 1, MAX_MESSAGE_LEN))