From a009ed17fc11ad5b530bd8a345c9073a86f3d60d Mon Sep 17 00:00:00 2001 From: "VivianFoxfoot@gmail.com" Date: Sat, 3 Mar 2012 01:13:54 +0000 Subject: [PATCH] Fix for communications lag. (wtf, is there a secret stockpile of AI cards somewhere?) git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3237 316c924e-a436-60f5-8080-3fe189b3f50e --- code/defines/procs/gamehelpers.dm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/defines/procs/gamehelpers.dm b/code/defines/procs/gamehelpers.dm index d3141ca78f8..0630f863b5b 100644 --- a/code/defines/procs/gamehelpers.dm +++ b/code/defines/procs/gamehelpers.dm @@ -117,12 +117,11 @@ hear += C.occupant // Intelicards - for(var/obj/item/device/aicard/C in world) + for(var/obj/item/device/aicard/C in V) for(var/mob/living/silicon/ai/M in C) - if(get_turf(C) in V) - if(isInSight(source,C)) - if(M.client) - hear += M + if(isInSight(source,C)) + if(M.client) + hear += M // Brains/MMIs/pAIs for(var/mob/living/carbon/brain/C in world)