AAR bug - default fuel transfer rate to 6000 lbs per minute.
This commit is contained in:
parent
5fc821c4c1
commit
9177ee698e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ var update_loop = func {
|
||||||
# and the aircraft maximum rate. Both are expressed
|
# and the aircraft maximum rate. Both are expressed
|
||||||
# in lbs/min
|
# in lbs/min
|
||||||
var fuel_rate = math.min(tankers[0].getNode("refuel/max-fuel-transfer-lbs-min", 1).getValue() or 6000,
|
var fuel_rate = math.min(tankers[0].getNode("refuel/max-fuel-transfer-lbs-min", 1).getValue() or 6000,
|
||||||
refuelingN.getNode("max-fuel-transfer-lbs-min", 1).getValue());
|
refuelingN.getNode("max-fuel-transfer-lbs-min", 1).getValue() or 6000);
|
||||||
var received = UPDATE_PERIOD * fuel_rate / 60;
|
var received = UPDATE_PERIOD * fuel_rate / 60;
|
||||||
consumed -= received;
|
consumed -= received;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue