From 8b1fd91d9d9b2c02da03843e41e6fb4de63f1c58 Mon Sep 17 00:00:00 2001 From: "VivianFoxfoot@gmail.com" Date: Thu, 1 Mar 2012 06:58:18 +0000 Subject: [PATCH] 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 --- code/modules/mob/living/silicon/say.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/silicon/say.dm b/code/modules/mob/living/silicon/say.dm index 8efd1d52297..a9a86a4fb4a 100644 --- a/code/modules/mob/living/silicon/say.dm +++ b/code/modules/mob/living/silicon/say.dm @@ -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))