anchor.diff:  						activate()
   						var/obj/machinery/atmospherics/path = queued_p_type
   						var/pipe_item_type = initial(path.construction_type) || /obj/item/pipe
  -						var/obj/item/pipe/P = new pipe_item_type(get_turf(A), queued_p_type, queued_p_dir)
  +						var/obj/item/pipe/P = new pipe_item_type(A, queued_p_type, queued_p_dir)
   
   						if(queued_p_flipped && istype(P, /obj/item/pipe/trinary/flippable))
   							var/obj/item/pipe/trinary/flippable/F = P
  
positive.code: 			if(TRANSIT_CATEGORY) //Making transit tubes
  				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
  
negative.code: 
  /obj/item/pipe_dispenser/pre_attack(atom/A, mob/user)
  	var/turf/T = get_turf(A)
  	if(!user.IsAdvancedToolUser() || !T || istype(T, /turf/open/space/transit) || isindestructiblewall(T))
  		return ..()
  
  	//So that changing the menu settings doesn't affect the pipes already being built.
  