anchor.diff:  	if(A == user.loc)
   		to_chat(user, "<span class='notice'>You cannot place a conveyor belt under yourself.</span>")
   		return
  -	var/obj/machinery/conveyor/C = new/obj/machinery/conveyor(A,cdir)
  -	C.id = id
  +	var/obj/machinery/conveyor/C = new/obj/machinery/conveyor(A, cdir, id)
   	transfer_fingerprints_to(C)
   	qdel(src)
   
  
positive.code: 
  	var/id = "" 				// must match conveyor IDs to control them
  
  	var/list/conveyors		// the list of converyors that are controlled by this switch
  	anchored = TRUE
  	speed_process = TRUE
  
  
  
  /obj/machinery/conveyor_switch/Initialize(mapload, newid)
  	..()
  	if(!id)
  		id = newid
  	update()
  
  	return INITIALIZE_HINT_LATELOAD //for machines list
  
  /obj/machinery/conveyor_switch/LateInitialize()
  	conveyors = list()
  	for(var/obj/machinery/conveyor/C in GLOB.machines)
  		if(C.id == id)
  			conveyors += C
  
  // update the icon depending on the position
  
  /obj/machinery/conveyor_switch/proc/update()
  	if(position<0)
  		icon_state = "switch-rev"
  	else if(position>0)
  
negative.code: 		return
  	operated = 0
  
  	for(var/obj/machinery/conveyor/C in GLOB.conveyors_by_id[id])
  		C.operating = position
  		C.update_move_direction()
  		CHECK_TICK
  