From 4bdf4860104ed8e9add05b0a57f47ae7c81d4683 Mon Sep 17 00:00:00 2001 From: d3athrow Date: Tue, 27 May 2014 07:54:52 -0500 Subject: [PATCH] Should fix #702, volume pumps always outputting. --- code/ATMOSPHERICS/components/binary_devices/volume_pump.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ATMOSPHERICS/components/binary_devices/volume_pump.dm b/code/ATMOSPHERICS/components/binary_devices/volume_pump.dm index 97e840cf67f..c6777eaa78a 100644 --- a/code/ATMOSPHERICS/components/binary_devices/volume_pump.dm +++ b/code/ATMOSPHERICS/components/binary_devices/volume_pump.dm @@ -48,7 +48,7 @@ obj/machinery/atmospherics/binary/volume_pump // ..() if(stat & (NOPOWER|BROKEN)) return - if(!on) + if(!on || !transfer_rate < 1) return 0 // Pump mechanism just won't do anything if the pressure is too high/too low