Clearing out a bad leftover that prevented MMI's from understanding AIs/borgs

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4487 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
sieve32@gmail.com
2012-08-18 03:11:45 +00:00
parent 03e199e30a
commit 94ea00b5a7
+10 -4
View File
@@ -20,8 +20,11 @@
..()
say_understands(var/other)//Goddamn is this hackish, but this say code is so odd
if (istype(other, /mob/living/silicon/ai))//No eavesdropping on the AI
return 0
if (istype(other, /mob/living/silicon/ai))
if(!(container && istype(container, /obj/item/device/mmi)))
return 0
else
return 1
if (istype(other, /mob/living/silicon/decoy))
if(!(container && istype(container, /obj/item/device/mmi)))
return 0
@@ -32,8 +35,11 @@
return 0
else
return 1
if (istype(other, /mob/living/silicon/robot))//Or borgs
return 0
if (istype(other, /mob/living/silicon/robot))
if(!(container && istype(container, /obj/item/device/mmi)))
return 0
else
return 1
if (istype(other, /mob/living/carbon/human))
return 1
if (istype(other, /mob/living/carbon/metroid))