1
0
Fork 0

AAR bug - default fuel transfer rate to 6000 lbs per minute.

This commit is contained in:
Stuart Buchanan 2013-04-10 23:11:12 +01:00
parent 5fc821c4c1
commit 9177ee698e

View file

@ -81,7 +81,7 @@ var update_loop = func {
# and the aircraft maximum rate. Both are expressed
# in lbs/min
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;
consumed -= received;
}