Skip to content

Commit

Permalink
fix: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
2hwk committed Jan 7, 2023
1 parent c9928dd commit c468a18
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ function setDefaultWeights(simbriefPaxWeight, simbriefBagWeight) {
const perPaxWeight = (simbriefPaxWeight === undefined) ? Math.round(NXUnits.kgToUser(84)) : simbriefPaxWeight;
const perBagWeight = (simbriefBagWeight === undefined) ? Math.round(NXUnits.kgToUser(20)) : simbriefBagWeight;
const conversionFactor = (getUserUnit() == "Kilograms") ? 0.4535934 : 1;
console.log("Setting A32NX_WB_PER_PAX_WEIGHT to ", perPaxWeight);
SimVar.SetSimVarValue("L:A32NX_WB_PER_PAX_WEIGHT", "Number", parseInt(perPaxWeight));
console.log("Setting A32NX_WB_PER_BAG_WEIGHT to ", perBagWeight);
SimVar.SetSimVarValue("L:A32NX_WB_PER_BAG_WEIGHT", "Number", parseInt(perBagWeight));
SimVar.SetSimVarValue("L:A32NX_EFB_UNIT_CONVERSION_FACTOR", "Number", conversionFactor);
}
Expand Down

0 comments on commit c468a18

Please sign in to comment.