anchor.diff:  	data["on"] = on
   	data["pressure"] = round(target_pressure)
   	data["max_pressure"] = round(MAX_OUTPUT_PRESSURE)
  -<<<<<<< HEAD
  -	data["filter_type"] = filter_type
  -=======
   	if(filter_type)
   		data["filter_type"] = GLOB.meta_gas_info[filter_type][META_GAS_ID] //ui code is garbage and this is needed for it to work grr
   	else
   		data["filter_type"] = "none"
  ->>>>>>> 945a58c... unfucks filters (#31599)
   	return data
   
   /obj/machinery/atmospherics/components/trinary/filter/ui_act(action, params)
  
positive.code: 		if("filter")
  			filter_type = ""
  			var/filter_name = "nothing"
  <<<<<<< HEAD
  			var/gas = params["mode"]
  =======
  			var/gas = text2path(params["mode"]) || gas_id2path(params["mode"])
  >>>>>>> 945a58c... unfucks filters (#31599)
  			if(gas in GLOB.meta_gas_info)
  				filter_type = gas
  				filter_name	= GLOB.meta_gas_info[gas][META_GAS_NAME]
  
negative.code: 	if(frequency)
  		radio_connection = SSradio.add_object(src, frequency, GLOB.RADIO_ATMOSIA)
  
  /obj/machinery/atmospherics/components/trinary/filter/New()
  	..()
  
  /obj/machinery/atmospherics/components/trinary/filter/Destroy()
  	SSradio.remove_object(src,frequency)
  	return ..()
  