Fix Nasal typo
This commit is contained in:
parent
759c7fbd91
commit
26711f678e
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue