Fix
This commit is contained in:
parent
e30af58122
commit
a0fbcccff0
2 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,7 @@ var masterFMGC = maketimer(0.2, func {
|
||||||
|
|
||||||
if (getprop("/systems/navigation/adr/computation/overspeed-vfe-spd") != 1024) {
|
if (getprop("/systems/navigation/adr/computation/overspeed-vfe-spd") != 1024) {
|
||||||
setprop("/FMGC/internal/maxspeed", getprop("/systems/navigation/adr/computation/overspeed-vfe-spd") - 4);
|
setprop("/FMGC/internal/maxspeed", getprop("/systems/navigation/adr/computation/overspeed-vfe-spd") - 4);
|
||||||
} elsif (getprop("/systems/navigation/adr/computation/overspeed-vle")) {
|
} elsif (pts.Gear.position[0].getValue() != 0 or pts.Gear.position[1].getValue() != 0 or pts.Gear.position[2].getValue() != 0) {
|
||||||
setprop("/FMGC/internal/maxspeed", 284);
|
setprop("/FMGC/internal/maxspeed", 284);
|
||||||
} else {
|
} else {
|
||||||
setprop("/FMGC/internal/maxspeed", getprop("/it-fbw/speeds/vmo-mmo"));
|
setprop("/FMGC/internal/maxspeed", getprop("/it-fbw/speeds/vmo-mmo"));
|
||||||
|
|
|
@ -66,6 +66,7 @@ var FMGC = {
|
||||||
var Gear = {
|
var Gear = {
|
||||||
compression: [props.globals.getNode("/gear/gear[0]/compression-norm"),props.globals.getNode("/gear/gear[1]/compression-norm"),props.globals.getNode("/gear/gear[2]/compression-norm")],
|
compression: [props.globals.getNode("/gear/gear[0]/compression-norm"),props.globals.getNode("/gear/gear[1]/compression-norm"),props.globals.getNode("/gear/gear[2]/compression-norm")],
|
||||||
wow: [props.globals.getNode("/gear/gear[0]/wow"),props.globals.getNode("/gear/gear[1]/wow"),props.globals.getNode("/gear/gear[2]/wow")],
|
wow: [props.globals.getNode("/gear/gear[0]/wow"),props.globals.getNode("/gear/gear[1]/wow"),props.globals.getNode("/gear/gear[2]/wow")],
|
||||||
|
position: [props.globals.getNode("/gear/gear[0]/position-norm"),props.globals.getNode("/gear/gear[1]/position-norm"),props.globals.getNode("/gear/gear[2]/position-norm")],
|
||||||
};
|
};
|
||||||
|
|
||||||
var Instrumentation = {
|
var Instrumentation = {
|
||||||
|
|
Loading…
Reference in a new issue