anchor.diff:  		*/
   
   		toggle_valve()
  -			src.valve_open = !valve_open
  -			if(valve_open && (tank_one && tank_two))
  +			if(valve_open==0 && (tank_one && tank_two))
  +				valve_open = 1
   				var/turf/bombturf = get_turf(src)
   				var/bombarea = bombturf.loc.name
   
   				bombers += "Bomb valve opened in [bombarea] with device attacher: [attacher]. Last touched by: [src.fingerprintslast]"
   				message_admins("Bomb valve opened in [bombarea] with device attacher: [attacher]. Last touched by: [src.fingerprintslast]")
   
  -				var/datum/gas_mixture/temp
  -				temp = tank_one.air_contents.remove_ratio(1)
  -
  -				tank_two.air_contents.volume = tank_two.air_contents.volume + tank_one.air_contents.volume
  -				tank_two.air_contents.merge(temp)
  +				merge_gases()
   				spawn(20) // In case one tank bursts
  +					for (var/i=0,i<5,i++)
  +						src.update_icon()
  +						sleep(10)
   					src.update_icon()
  -
  +			
  +			else if(valve_open==1 && (tank_one && tank_two))
  +				split_gases()
  +				valve_open = 0
  +				src.update_icon()
   
   		// this doesn't do anything but the timer etc. expects it to be here
   		// eventually maybe have it update icon to show state (timer, prox etc.) like old bombs
  
positive.code: 			if(href_list["rem_device"])
  				if(attached_device)
  					attached_device.loc = get_turf(src)
  					attached_device = null
  				update_icon()
  			if(href_list["device"])
  
negative.code: 			//device_overlay.icon_state = device_icon
  			src.overlays += K
  	proc
  		merge_gases()
  			tank_two.air_contents.volume += tank_one.air_contents.volume
  			var/datum/gas_mixture/temp
  			temp = tank_one.air_contents.remove_ratio(1)
  			tank_two.air_contents.merge(temp)
  			
  		split_gases()
  			if (!valve_open || !tank_one || !tank_two)
  				return
  			var/ratio1 = tank_one.air_contents.volume/tank_two.air_contents.volume
  			var/datum/gas_mixture/temp
  			temp = tank_two.air_contents.remove_ratio(ratio1)
  			tank_one.air_contents.merge(temp)
  			tank_two.air_contents.volume -=  tank_one.air_contents.volume
  
  		/*
  		Exadv1: I know this isn't how it's going to work, but this was just to check
  