use correct max_gear value
This commit is contained in:
parent
cb9361b067
commit
79fea79cae
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ checkFlaps = func {
|
|||
|
||||
checkGear = func {
|
||||
airspeed = getprop("velocities/airspeed-kt");
|
||||
max_gear = cmdarg().getValue();
|
||||
max_gear = getprop("limits/max-gear-extension-speed");
|
||||
|
||||
if ((max_gear != nil) and (airspeed > max_gear))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue