From 113b2264f3078bb44db7ce928186f3651aa32fa5 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Tue, 8 Jun 2021 16:09:21 +0100 Subject: [PATCH] Pneumatics: remove some extra un-needed code --- Nasal/Systems/pneumatics.nas | 2 -- 1 file changed, 2 deletions(-) diff --git a/Nasal/Systems/pneumatics.nas b/Nasal/Systems/pneumatics.nas index 97425c63..cf3879f3 100644 --- a/Nasal/Systems/pneumatics.nas +++ b/Nasal/Systems/pneumatics.nas @@ -233,14 +233,12 @@ setlistener("/controls/oxygen/masksDeployMan", func { setlistener("/controls/oxygen/masksDeployMan", func { masks = getprop("/controls/oxygen/masksDeployMan"); - autoMasks = getprop("/controls/oxygen/masksDeploy"); if (!masks) { setprop("/controls/oxygen/masksDeployMan", 1); } }, 0, 0); setlistener("/controls/oxygen/masksDeploy", func { - masks = getprop("/controls/oxygen/masksDeployMan"); autoMasks = getprop("/controls/oxygen/masksDeploy"); if (!autoMasks) { setprop("/controls/oxygen/masksDeploy", 1);