From 0f830d74f4c9613495da5b84eebb4b8d5af6cb10 Mon Sep 17 00:00:00 2001 From: "giacomand@gmail.com" Date: Mon, 27 Aug 2012 05:19:55 +0000 Subject: [PATCH] -Fixed an issue with the AI Eye being moved by shuttles. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4558 316c924e-a436-60f5-8080-3fe189b3f50e --- code/defines/procs/helpers.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/defines/procs/helpers.dm b/code/defines/procs/helpers.dm index 62dea3f2f04..352900fe04b 100644 --- a/code/defines/procs/helpers.dm +++ b/code/defines/procs/helpers.dm @@ -911,7 +911,7 @@ proc/anim(turf/location as turf,target as mob|obj,a_icon,a_icon_state as text,fl if(!istype(O,/obj)) continue O.loc = X for(var/mob/M in T) - if(!istype(M,/mob)) continue + if(!istype(M,/mob) || istype(M, /mob/aiEye)) continue // If we need to check for more mobs, I'll add a variable M.loc = X // var/area/AR = X.loc @@ -1072,9 +1072,7 @@ proc/DuplicateObject(obj/original, var/perfectcopy = 0 , var/sameloc = 0) for(var/mob/M in T) - if(!istype(M,/mob)) - continue - + if(!istype(M,/mob) || istype(M, /mob/aiEye)) continue // If we need to check for more mobs, I'll add a variable mobs += M for(var/mob/M in mobs)