From 26711f678e690413d686f3b5cc728b62cf3c3b8c Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Sat, 7 May 2022 17:57:44 +0100 Subject: [PATCH] Fix Nasal typo --- Models/Instruments/Lower-ECAM/Lower-ECAM-cruise.nas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/Instruments/Lower-ECAM/Lower-ECAM-cruise.nas b/Models/Instruments/Lower-ECAM/Lower-ECAM-cruise.nas index e10174db..ea971f0e 100644 --- a/Models/Instruments/Lower-ECAM/Lower-ECAM-cruise.nas +++ b/Models/Instruments/Lower-ECAM/Lower-ECAM-cruise.nas @@ -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) {