System: Fix redudency
This commit is contained in:
parent
a9c737093f
commit
0d95b0e766
1 changed files with 1 additions and 4 deletions
|
@ -687,6 +687,7 @@ var ELEC = {
|
|||
setprop("/it-autoflight/input/ap2", 0);
|
||||
}
|
||||
setprop("systems/electrical/on", 0);
|
||||
setprop("/systems/thrust/thr-locked", 0);
|
||||
setprop("/systems/electrical/outputs/adf", 0);
|
||||
setprop("/systems/electrical/outputs/audio-panel", 0);
|
||||
setprop("/systems/electrical/outputs/audio-panel[1]", 0);
|
||||
|
@ -759,10 +760,6 @@ var ELEC = {
|
|||
setprop("/controls/lighting/overhead-panel-norm", getprop("/controls/lighting/overhead-panel-knb"));
|
||||
}
|
||||
|
||||
if (getprop("systems/electrical/on") == 0) {
|
||||
setprop("/systems/thrust/thr-locked", 0);
|
||||
}
|
||||
|
||||
setprop("/systems/electrical/ac1-src", ac1_src);
|
||||
setprop("/systems/electrical/ac2-src", ac2_src);
|
||||
|
||||
|
|
Reference in a new issue