anchor.diff:  	switch(index)
   
   		if(APC_WIRE_IDSCAN)
  -			A.locked = 0
  -
  -			spawn(300)
  -				if(A)
  -					A.locked = 1
  -					A.updateDialog()
  +			if(A.locked)
  +				A.locked = 0
  +			else
  +				A.locked = 1
   
   		if (APC_WIRE_MAIN_POWER1, APC_WIRE_MAIN_POWER2)
   			if(A.shorted == 0)
  
positive.code: 						A.aidisabled = 0
  						A.updateDialog()
  
  	A.updateDialog()
  
  /datum/wires/apc/UpdateCut(var/index, var/mended)
  	var/obj/machinery/power/apc/A = holder
  
  	switch(index)
  		if(APC_WIRE_MAIN_POWER1, APC_WIRE_MAIN_POWER2)
  
  			if(!mended)
  
negative.code: 			else
  				if (A.aidisabled == 1)
  					A.aidisabled = 0
  
  		if(APC_WIRE_COVERLOCK)
  			A.coverlocked = 0
  
  	A.updateDialog()