From 09490b8cb0b72cd75271a703c6c521da636a6e90 Mon Sep 17 00:00:00 2001 From: CaelAislinn Date: Wed, 8 Feb 2012 06:16:12 +1000 Subject: [PATCH] fixed derpy ai movement. Signed-off-by: CaelAislinn --- code/modules/mob/living/silicon/ai/move.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/silicon/ai/move.dm b/code/modules/mob/living/silicon/ai/move.dm index 48225f7f790..511b1985f0c 100644 --- a/code/modules/mob/living/silicon/ai/move.dm +++ b/code/modules/mob/living/silicon/ai/move.dm @@ -51,6 +51,9 @@ continue if(dy && (current.y * dy <= old.y * dy)) continue + //only let the player move to cameras on the same zlevel + if(current.z != old.z) + continue var/shared_types = 0 //how many levels deep the old camera and the closest camera's areas share //for instance, /area/A and /area/B would have shared_types = 2 (because of how dd_text2list works)