anchor.diff:  			if(TRANSIT_CATEGORY) //Making transit tubes
   				if(!can_make_pipe)
   					return ..()
  -				A = get_turf(A)
  -				if(isclosedturf(A))
  +				attack_target = get_turf(attack_target)
  +				if(isclosedturf(attack_target))
   					to_chat(user, "<span class='warning'>[src]'s error light flickers; there's something in the way!</span>")
   					return
   				to_chat(user, "<span class='notice'>You start building a transit tube...</span>")
   				playsound(get_turf(src), 'sound/machines/click.ogg', 50, TRUE)
  -				if(do_after(user, transit_build_speed, target = A))
  +				if(do_after(user, transit_build_speed, target = attack_target))
   					activate()
   					if(queued_p_type == /obj/structure/c_transit_tube_pod)
  -						var/obj/structure/c_transit_tube_pod/pod = new /obj/structure/c_transit_tube_pod(A)
  +						var/obj/structure/c_transit_tube_pod/pod = new /obj/structure/c_transit_tube_pod(attack_target)
   						pod.add_fingerprint(usr)
   						if(mode & WRENCH_MODE)
   							pod.wrench_act(user, src)
   
   					else
  -						var/obj/structure/c_transit_tube/tube = new queued_p_type(A)
  +						var/obj/structure/c_transit_tube/tube = new queued_p_type(attack_target)
   						tube.setDir(queued_p_dir)
   
   						if(queued_p_flipped)
  
positive.code: 				M.paint(GLOB.pipe_paint_colors[paint_color]) //paint the pipe
  				user.visible_message("<span class='notice'>[user] paints \the [M] [paint_color].</span>","<span class='notice'>You paint \the [M] [paint_color].</span>")
  			return
  		var/obj/item/pipe/I = A
  		if(istype(I) && I.paintable)
  			to_chat(user, "<span class='notice'>You start painting \the [I] [paint_color]...</span>")
  			playsound(get_turf(src), 'sound/machines/click.ogg', 50, TRUE)
  
negative.code: 			if(DISPOSALS_CATEGORY) //Making disposals pipes
  				if(!can_make_pipe)
  					return ..()
  				attack_target = get_turf(attack_target)
  				if(isclosedturf(attack_target))
  					to_chat(user, "<span class='warning'>[src]'s error light flickers; there's something in the way!</span>")
  					return
  				to_chat(user, "<span class='notice'>You start building a disposals pipe...</span>")
  				playsound(get_turf(src), 'sound/machines/click.ogg', 50, TRUE)
  				if(do_after(user, disposal_build_speed, target = attack_target))
  					var/obj/structure/disposalconstruct/C = new (attack_target, queued_p_type, queued_p_dir, queued_p_flipped)
  
  					if(!C.can_place())
  						to_chat(user, "<span class='warning'>There's not enough room to build that here!</span>")
  