anchor.diff:  
   		var/datum/powernet/PN = powernets[netnum]
   		var/datum/powernet/TPN = powernets[M.netnum]
  -
  -		PN.merge_powernets(TPN)
  -
  -	for(var/obj/machinery/power/apc/N in loc)
  +		var/kingNetnum = netnum
  +		if(PN.cables.len + PN.nodes.len < TPN.cables.len + TPN.nodes.len)
  +			kingNetnum = M.netnum
  +			var/datum/powernet/temp = PN
  +			PN = TPN
  +			TPN = temp
  +
  +		TPN.nodes -= M
  +		PN.nodes += M
  +		M.netnum = kingNetnum
  +		M.powernet = powernets[M.netnum]
  +	for(var/obj/machinery/power/apc/N in TB)
   		var/obj/machinery/power/M
   		M = N.terminal
   
  
positive.code: 			netnum = C.netnum
  			PN.cables += src
  			continue
  
  		var/datum/powernet/PN = powernets[netnum]
  		var/datum/powernet/TPN = powernets[C.netnum]
  
  		PN.merge_powernets(TPN)
  
  	for(var/obj/machinery/power/M in loc)
  
  		if(M.netnum < 0)
  			continue
  
negative.code: 		if("green")
  			icon = 'power_cond_green.dmi'
  		if("blue")
  			icon = 'power_cond_blue.dmi'