1
0
Fork 0

Fix Nasal typo

This commit is contained in:
Jonathan Redpath 2022-05-07 17:57:44 +01:00
parent 759c7fbd91
commit 26711f678e

View file

@ -25,9 +25,9 @@ var canvas_lowerECAMPageCruise =
obj.update_items = [
props.UpdateManager.FromHashList(["engOil1", "acconfigUnits"], 0.005, func(val) {
if (val.acconfigUnits) {
obj.quantity[0] = sprintf("%2.1f", math.clamp((0.1 * math.round(val.engOilQt1 * QT2LTR * 10, 5)), 0, 99.5));
obj.quantity[0] = sprintf("%2.1f", math.clamp((0.1 * math.round(val.engOil1 * QT2LTR * 10, 5)), 0, 99.5));
} else {
obj.quantity[0] = sprintf("%2.1f", math.clamp((0.1 * math.round(val.engOilQt1 * 10, 5)), 0, 99.5));
obj.quantity[0] = sprintf("%2.1f", math.clamp((0.1 * math.round(val.engOil1 * 10, 5)), 0, 99.5));
}
}),
props.UpdateManager.FromHashList(["engOil2", "acconfigUnits"], 0.005, func(val) {