anchor.diff:  
   	var/net = get_connection()		// find the powernet of the connected cable
   
  -	var/datum/powernet/PN			// find the powernet
  +	var/datum/powernet/PN			// find the powernet. Magic code, voodoo code.
   	if(net)
   		PN = powernets[net]
   	var/shieldload = rand(50,200)
  
positive.code: 		if(power == 1)
  			if(src.active >= 1)
  				user << "You turn off the field generator."
  				src.active = 0
  			else
  				src.active = 1
  	//			icon_state = "Field_Gen +a"
  				user << "You turn on the field generator."
  		else
  			user << "The shield generator needs to be powered by wire underneath."
  
negative.code: /obj/machinery/shieldwallgen
  		name = "Shield Generator"
  		desc = "A shield generator."
  		icon = 'stationobjs.dmi'
  		icon_state = "Shield_Gen"
  		anchored = 0
  		density = 1
  		req_access = list(access_security)
  