anchor.diff:  				checked |= emag_programs
   			var/valid = FALSE //dont tell security about this
   
  -			for (var/prog in checked)//checks if program_to_load is any one of the loadable programs, if it isnt then it rejects it
  -				var/list/check_list = prog
  -				if (check_list["id"] == program_to_load)
  +			//checks if program_to_load is any one of the loadable programs, if it isnt then it rejects it
  +			for(var/list/check_list as anything in checked)
  +				if(check_list["id"] == program_to_load)
   					valid = TRUE
   					break
  -			if (!valid)
  +			if(!valid)
   				return FALSE
   			//load the map_template that program_to_load represents
   			if(program_to_load)
  
positive.code: 		return
  	for(var/obj/item/to_be_nerfed in spawned)
  		to_be_nerfed.damtype = nerf_this ? STAMINA : initial(to_be_nerfed.damtype)
  	for(var/to_be_nerfed in effects)
  		var/obj/effect/holodeck_effect/holo_effect = to_be_nerfed
  		holo_effect.safety(nerf_this)
  
  /obj/machinery/computer/holodeck/emag_act(mob/user)
  
negative.code: 
  ///this is what makes the holodeck not spawn anything on broken tiles (space and non engine plating / non holofloors)
  /datum/map_template/holodeck/update_blacklist(turf/placement, list/input_blacklist)
  	for(var/turf/possible_blacklist as anything in get_affected_turfs(placement))
  		if (possible_blacklist.holodeck_compatible)
  			continue
  		input_blacklist += possible_blacklist
  