anchor.diff:  	var/datum/gas_mixture/air2 = airs[2]
   
   	if(air1.return_pressure() > target_pressure)
  -		if(air1.pump_gas_to(air2, air1.return_pressure()))
  +		if(air1.release_gas_to(air2, air1.return_pressure()))
   			update_parents()
   			is_gas_flowing = TRUE
  -			update_icon_nopipes()
   	else
   		is_gas_flowing = FALSE
  -		update_icon_nopipes()
  +	update_icon_nopipes()
   
   /obj/machinery/atmospherics/components/binary/pressure_valve/proc/set_frequency(new_frequency)
   	SSradio.remove_object(src, frequency)
  
positive.code: 		if("pressure")
  			var/pressure = params["pressure"]
  			if(pressure == "max")
  				pressure = MAX_OUTPUT_PRESSURE
  				. = TRUE
  			else if(text2num(pressure) != null)
  				pressure = text2num(pressure)
  				. = TRUE
  			if(.)
  				target_pressure = clamp(pressure, 0, MAX_OUTPUT_PRESSURE)
  				investigate_log("was set to [target_pressure] kPa by [key_name(usr)]", INVESTIGATE_ATMOS)
  	update_icon()
  
  
negative.code: /obj/machinery/atmospherics/components/binary/pressure_valve
  	icon_state = "pvalve_map-3"
  	name = "pressure valve"
  	desc = "An activable one way valve that let gas pass through if the pressure on the input side is higher than the set pressure."
  
  	can_unwrench = TRUE
  	shift_underlay_only = FALSE
  