diff --git a/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm b/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm index 487c3323f04..cc253759f72 100644 --- a/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm +++ b/code/ATMOSPHERICS/components/unary_devices/vent_pump.dm @@ -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)) diff --git a/code/ATMOSPHERICS/components/unary_devices/vent_scrubber.dm b/code/ATMOSPHERICS/components/unary_devices/vent_scrubber.dm index cee4e68b4d5..ac52a1d1178 100644 --- a/code/ATMOSPHERICS/components/unary_devices/vent_scrubber.dm +++ b/code/ATMOSPHERICS/components/unary_devices/vent_scrubber.dm @@ -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