From a2aa7c6a0ea601feb8b1f0a1ba0799f5ad9ec2f5 Mon Sep 17 00:00:00 2001 From: Shadowlight213 Date: Wed, 11 May 2016 21:39:02 -0700 Subject: [PATCH] Fix --- code/modules/mob/living/simple_animal/bot/bot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index 0d87ae4ac0e..b94d3db30a2 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -393,7 +393,7 @@ Pass the desired type path itself, declaring a temporary var beforehand is not r var/turf/T = get_turf(scan) if(T) for(var/C in T.contents) - if(istype(src.type,C) && (C != src)) //Is there another bot there already? If so, let's skip it so we dont all atack on top of eachother. + if(istype(C,src.type) && (C != src)) //Is there another bot there already? If so, let's skip it so we dont all atack on top of eachother. return 0 var/scan_result = process_scan(scan) //Some bots may require additional processing when a result is selected. if(scan_result)