From 97ec3f2b42911252e7c1c76d3eaf1bfbf7ef2d64 Mon Sep 17 00:00:00 2001 From: Ninjo Date: Tue, 26 Apr 2022 17:05:14 +0200 Subject: [PATCH] chore: su9 compatibility (#441) --- package.json | 4 ++-- salty-747/html_ui/Pages/Salty/WT/Waypoint.js | 6 +++--- .../Instruments/Airliners/Salty_B747_8/SAI/B747_8_SAI.html | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 2d91a1478..5daab1228 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "salty-747", - "version": "0.4.0", + "version": "0.6.0", "description": "An open-source modification for the default MSFS 747-8, aiming to improve the lacking features and realism of the default aircraft.", "scripts": { "build:layout": "node scripts/build.js", @@ -12,7 +12,7 @@ "dev": "rollup -wc src/instruments/rollup.config.js" }, "author": "Salty Simulations", - "license": "MIT", + "license": "GPL-3.0-or-later", "devDependencies": { "@babel/core": "^7.15.5", "@babel/plugin-proposal-class-properties": "^7.14.5", diff --git a/salty-747/html_ui/Pages/Salty/WT/Waypoint.js b/salty-747/html_ui/Pages/Salty/WT/Waypoint.js index 9c3987570..e22bfad6a 100644 --- a/salty-747/html_ui/Pages/Salty/WT/Waypoint.js +++ b/salty-747/html_ui/Pages/Salty/WT/Waypoint.js @@ -696,7 +696,7 @@ class VORInfo extends WayPointInfo { }); } } -VORInfo.readManager = new InstrumentDataReadManager(); + class NDBInfo extends WayPointInfo { constructor(_instrument) { super(_instrument); @@ -776,7 +776,7 @@ class NDBInfo extends WayPointInfo { }); } } -NDBInfo.readManager = new InstrumentDataReadManager(); + class IntersectionInfo extends WayPointInfo { constructor(_instrument) { super(_instrument); @@ -938,7 +938,7 @@ class IntersectionInfo extends WayPointInfo { } } } -IntersectionInfo.readManager = new InstrumentDataReadManager(); + IntersectionInfo.longestAirway = 0; class Frequency { constructor(_name, _mhValue, _bcd16Value, _type) { diff --git a/salty-747/html_ui/Pages/VCockpit/Instruments/Airliners/Salty_B747_8/SAI/B747_8_SAI.html b/salty-747/html_ui/Pages/VCockpit/Instruments/Airliners/Salty_B747_8/SAI/B747_8_SAI.html index 56df5cc05..f1bba04a9 100644 --- a/salty-747/html_ui/Pages/VCockpit/Instruments/Airliners/Salty_B747_8/SAI/B747_8_SAI.html +++ b/salty-747/html_ui/Pages/VCockpit/Instruments/Airliners/Salty_B747_8/SAI/B747_8_SAI.html @@ -58,7 +58,6 @@ -