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);