From e8d7cc1e6102ecaeaa8ef2efc897e64fd13e8147 Mon Sep 17 00:00:00 2001 From: SkyMarshal Date: Tue, 16 Apr 2013 12:43:19 -0700 Subject: [PATCH] Fixes the bug with Filters allowing insane overpressurization. --- code/ATMOSPHERICS/components/trinary_devices/filter.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ATMOSPHERICS/components/trinary_devices/filter.dm b/code/ATMOSPHERICS/components/trinary_devices/filter.dm index 6a92f9a24b..acc528e611 100755 --- a/code/ATMOSPHERICS/components/trinary_devices/filter.dm +++ b/code/ATMOSPHERICS/components/trinary_devices/filter.dm @@ -62,7 +62,7 @@ Filter types: var/output_starting_pressure = air3.return_pressure() - if(output_starting_pressure >= target_pressure) + if(output_starting_pressure >= target_pressure || air2.return_pressure() >= target_pressure ) //No need to mix if target is already full! return 1