anchor.diff:  			else if(check_anomalies) //non humans who are not simple animals (xenos etc)
   				if(!in_faction(C))
   					targets += C
  -
  -		if(ismecha(A))
  -			var/obj/mecha/M = A
  -			//If there is a user and they're not in our faction
  -			if(M.occupant && !in_faction(M.occupant))
  -				if(assess_perp(M.occupant) >= 4)
  -					targets += M
  -
  -	if(!tryToShootAt(targets))
  -		if(!always_up)
  -			popDown() // no valid targets, close the cover
  +	for(var/A in GLOB.mechas_list)
  +		if((get_dist(A, base) < scan_range) && can_see(base, A, scan_range))
  +			var/obj/mecha/Mech = A
  +			if(Mech.occupant && !in_faction(Mech.occupant)) //If there is a user and they're not in our faction
  +				if(assess_perp(Mech.occupant) >= 4)
  +					targets += Mech
  +
  +	if(targets.len)
  +		tryToShootAt(targets)
  +	else if(!always_up)
  +		popDown() // no valid targets, close the cover
   
   /obj/machinery/porta_turret/proc/tryToShootAt(list/atom/movable/targets)
   	while(targets.len > 0)
  
positive.code: 	if(controllock)
  		return
  	src.on = on
  	src.mode = mode
  	power_change()
  
  
negative.code: 				dat += "Assume direct control : <a href='?src=[REF(src)];operation=manual'>Manual Control</a><br>"
  		else
  			dat += "Warning! Remote control protocol enabled.<br>"
  
  
  	var/datum/browser/popup = new(user, "autosec", "Automatic Portable Turret Installation", 300, 300)
  	popup.set_content(dat)
  