anchor.diff: -#define CAMERA_UPGRADE_XRAY 1
  -#define CAMERA_UPGRADE_EMP_PROOF 2
  -#define CAMERA_UPGRADE_MOTION 4
  +#define CAMERA_UPGRADE_XRAY (1<<0)
  +#define CAMERA_UPGRADE_EMP_PROOF (1<<1)
  +#define CAMERA_UPGRADE_MOTION (1<<2)
   
   /obj/machinery/camera
   	name = "security camera"
  
positive.code: 	light_range = 10
  	start_active = TRUE
  
  /obj/machinery/camera/Initialize(mapload, obj/structure/camera_assembly/CA)
  	. = ..()
  	for(var/i in network)
  		network -= i
  		network += lowertext(i)
  	var/obj/structure/camera_assembly/assembly
  	if(CA)
  		assembly = CA
  		if(assembly.xray_module)
  			upgradeXRay()
  		else if(assembly.malf_xray_firmware_present) //if it was secretly upgraded via the MALF AI Upgrade Camera Network ability
  
negative.code: 	else
  		assembly = new(src)
  		assembly.state = 4 //STATE_FINISHED
  		assembly_ref = WEAKREF(assembly)
  	GLOB.cameranet.cameras += src
  	GLOB.cameranet.addCamera(src)
  	if (isturf(loc))
  