From 472e7f7f615d5cf2e154b0451931cc74d9c656eb Mon Sep 17 00:00:00 2001 From: vuonojenmustaturska Date: Sun, 15 Apr 2018 15:03:00 +0300 Subject: [PATCH] Allows passive gates to be touched in unpowered areas --- .../machinery/components/binary_devices/passive_gate.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm b/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm index 2fcc546cec..7d487d626e 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/passive_gate.dm @@ -14,6 +14,8 @@ Passive gate is similar to the regular pump except: can_unwrench = TRUE + interaction_flags_machine = INTERACT_MACHINE_OFFLINE | INTERACT_MACHINE_WIRES_IF_OPEN | INTERACT_MACHINE_ALLOW_SILICON | INTERACT_MACHINE_OPEN_SILICON | INTERACT_MACHINE_SET_MACHINE + var/on = FALSE var/target_pressure = ONE_ATMOSPHERE