mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
fixes roundstart atmos
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user