anchor.diff:  				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
  +		var/obj/item/pipe/I = attack_target
   		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)
  
positive.code: 			if(DISPOSALS_CATEGORY) //Making disposals pipes
  				if(!can_make_pipe)
  					return ..()
  				A = get_turf(A)
  				if(isclosedturf(A))
  					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 = A))
  					var/obj/structure/disposalconstruct/C = new (A, 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>")
  
negative.code: 				playsound(get_turf(src), 'sound/machines/click.ogg', 50, TRUE)
  				if (recipe.type == /datum/pipe_info/meter)
  					to_chat(user, "<span class='notice'>You start building a meter...</span>")
  					if(do_after(user, atmos_build_speed, target = attack_target))
  						activate()
  						var/obj/item/pipe_meter/PM = new /obj/item/pipe_meter(get_turf(attack_target))
  						PM.setAttachLayer(piping_layer)
  						if(mode & WRENCH_MODE)
  							PM.wrench_act(user, src)
  