From acabb063122734e64178a1007d007761291ebdb1 Mon Sep 17 00:00:00 2001 From: Jonathan Bayer Date: Fri, 20 Dec 2019 22:04:24 -0500 Subject: [PATCH] Fixed initialization of variable outside of MonoBehaviour loop --- AFBW/AdvancedFlyByWire.cs | 4 ++-- CHANGELOG | 8 ++++++++ ksp-advanced-flybywire.version | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/AFBW/AdvancedFlyByWire.cs b/AFBW/AdvancedFlyByWire.cs index 444a4f6..11c23f3 100644 --- a/AFBW/AdvancedFlyByWire.cs +++ b/AFBW/AdvancedFlyByWire.cs @@ -91,8 +91,8 @@ public class AdvancedFlyByWire : MonoBehaviour //public bool m_MaxMoveSpeedAlways = false; // Configuration - private static readonly string ADDON_FOLDER = Path.Combine(Path.Combine(KSPUtil.ApplicationRootPath, "GameData"), "ksp-advanced-flybywire"); - private static readonly string DATAFOLDER = ADDON_FOLDER + "/PluginData"; + private static string ADDON_FOLDER { get { return Path.Combine(Path.Combine(KSPUtil.ApplicationRootPath, "GameData"), "ksp-advanced-flybywire"); } } + private static string DATAFOLDER { get { return ADDON_FOLDER + "/PluginData"; } } private Configuration m_Configuration = null; private ModSettingsWindow m_ModSettings = null; diff --git a/CHANGELOG b/CHANGELOG index 1be2380..35304c8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,13 @@ ChangeLog +1.8.3.1 + Fixed initialization of variable outside of MonoBehaviour loop + Thanks to github user @bhaan for the following: + New Feature: SAS Invert + re-enable nav-ball toggle (speed mode) + Fix Xml Serialization for KSPv1.8 + Note: This change is not backwards compatible with previous controller presets. Users will have to reconfigure their controllers if these changes are merged. I've tested that an old configuration file will not cause failures for the mod during deserialization, but all the button and axis bindings will be removed. + 1.8.3 Added InstallChecker Updated for KSP 1.8 diff --git a/ksp-advanced-flybywire.version b/ksp-advanced-flybywire.version index 88fe8b9..4a679da 100644 --- a/ksp-advanced-flybywire.version +++ b/ksp-advanced-flybywire.version @@ -10,7 +10,7 @@ "MAJOR": 1, "MINOR": 8, "PATCH": 3, - "BUILD": 0 + "BUILD": 1 }, "KSP_VERSION_MIN": { "MAJOR": 1,