This commit is contained in:
Shadowlight213
2016-05-11 21:39:02 -07:00
parent 8112079ff5
commit a2aa7c6a0e
@@ -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)