fixes roundstart atmos

This commit is contained in:
duncathan
2015-09-07 06:40:04 -06:00
parent 50fc7578f7
commit a4b0a7e1bf
2 changed files with 5 additions and 5 deletions
@@ -93,7 +93,7 @@
if(pump_direction & RELEASING)
icon_state = "vent_out"
if(pump_direction & SIPHONING)
else //pump_direction == SIPHONING
icon_state = "vent_in"
/obj/machinery/atmospherics/components/unary/vent_pump/process_atmos()
@@ -130,7 +130,7 @@
loc.assume_air(removed)
air_update_turf()
if(pump_direction & SIPHONING) //external -> internal
else //external -> internal
var/pressure_delta = 10000
if(pressure_checks&EXT_BOUND)
pressure_delta = min(pressure_delta, (environment_pressure - external_pressure_bound))
@@ -76,7 +76,7 @@
amount += idle_power_usage
if (scrub_N2O)
amount += idle_power_usage
if(scrubbing & SIPHONING)
else //scrubbing == SIPHONING
amount = active_power_usage
if (widenet)
@@ -99,7 +99,7 @@
if(scrubbing & SCRUBBING)
icon_state = "scrub_on"
if(scrubbing & SIPHONING)
else //scrubbing == SIPHONING
icon_state = "scrub_purge"
/obj/machinery/atmospherics/components/unary/vent_scrubber/proc/set_frequency(new_frequency)
@@ -203,7 +203,7 @@
tile.assume_air(removed)
tile.air_update_turf()
if(scrubbing & SIPHONING) //Just siphoning all air
else //Just siphoning all air
if (air_contents.return_pressure()>=50*ONE_ATMOSPHERE)
return