Pneumatics: remove some extra un-needed code
This commit is contained in:
parent
9798a20850
commit
113b2264f3
1 changed files with 0 additions and 2 deletions
|
@ -233,14 +233,12 @@ setlistener("/controls/oxygen/masksDeployMan", func {
|
||||||
|
|
||||||
setlistener("/controls/oxygen/masksDeployMan", func {
|
setlistener("/controls/oxygen/masksDeployMan", func {
|
||||||
masks = getprop("/controls/oxygen/masksDeployMan");
|
masks = getprop("/controls/oxygen/masksDeployMan");
|
||||||
autoMasks = getprop("/controls/oxygen/masksDeploy");
|
|
||||||
if (!masks) {
|
if (!masks) {
|
||||||
setprop("/controls/oxygen/masksDeployMan", 1);
|
setprop("/controls/oxygen/masksDeployMan", 1);
|
||||||
}
|
}
|
||||||
}, 0, 0);
|
}, 0, 0);
|
||||||
|
|
||||||
setlistener("/controls/oxygen/masksDeploy", func {
|
setlistener("/controls/oxygen/masksDeploy", func {
|
||||||
masks = getprop("/controls/oxygen/masksDeployMan");
|
|
||||||
autoMasks = getprop("/controls/oxygen/masksDeploy");
|
autoMasks = getprop("/controls/oxygen/masksDeploy");
|
||||||
if (!autoMasks) {
|
if (!autoMasks) {
|
||||||
setprop("/controls/oxygen/masksDeploy", 1);
|
setprop("/controls/oxygen/masksDeploy", 1);
|
||||||
|
|
Loading…
Reference in a new issue