anchor.diff:  	if(glass)
   		airlock_material = "glass"
   	update_icon()
  +	if(map_ready)
  +		initialize()
  +
  +/obj/machinery/door/airlock/initialize()
  +	. = ..()
  +	if (cyclelinkeddir)
  +		cyclelinkairlock()
  +
  +/obj/machinery/door/airlock/proc/cyclelinkairlock()
  +	if (!cyclelinkeddir)
  +		return
  +	var/limit = world.view
  +	var/turf/T = get_turf(src)
  +	var/obj/machinery/door/airlock/FoundDoor
  +	do
  +		T = get_step(T, cyclelinkeddir)
  +		FoundDoor = locate() in T
  +		if (FoundDoor && FoundDoor.cyclelinkeddir != get_dir(FoundDoor, src))
  +			FoundDoor = null
  +		limit--
  +	while(!FoundDoor && limit)
  +	if (!FoundDoor)
  +		return
  +	FoundDoor.cyclelinkedairlock = src
  +	cyclelinkedairlock = FoundDoor
  +
   
   /obj/machinery/door/airlock/lock()
   	bolt()
  
positive.code: 			user.staminaloss += 50
  			user.stunned += 5
  			return
  	..()
  
  /obj/machinery/door/airlock/proc/isElectrified()
  	if(src.secondsElectrified != 0)
  
negative.code: /obj/machinery/door/airlock/Destroy()
  	qdel(wires)
  	wires = null
  	if (cyclelinkedairlock)
  		if (cyclelinkedairlock.cyclelinkedairlock == src)
  			cyclelinkedairlock.cyclelinkedairlock = null
  		cyclelinkedairlock = null
  	if(id_tag)
  		for(var/obj/machinery/doorButtons/D in machines)
  			D.removeMe(src)
  