anchor.diff:  				enter_mecha(M)
   				return
   			else
  -				if(!CanAttack(M.occupant))
  +				if(!CanAttack(M))
   					target = null
   					return
   
  
positive.code: 
  //Checks if a mecha is valid for theft
  /mob/living/simple_animal/hostile/syndicate/mecha_pilot/proc/is_valid_mecha(obj/mecha/M)
  	. = 0
  	if(M && !M.occupant && M.has_charge(required_mecha_charge) && (M.health >= (initial(M.health)*0.5)))
  		. = 1
  
  
  
  /mob/living/simple_animal/hostile/syndicate/mecha_pilot/proc/mecha_face_target(atom/A)
  
negative.code: 	if(istype(the_target, /obj/mecha))
  		var/obj/mecha/M = the_target
  		if(mecha)
  			if(M == mecha || !CanAttack(M.occupant))
  				return 0
  		else //we're not in a mecha, so we check if we can steal it instead.
  			if(is_valid_mecha(M))
  				return 1
  
  	. = ..()
  
  
  