Skip to content

Commit

Permalink
Fixed initialization of variable outside of MonoBehaviour loop
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxgurugamer committed Dec 21, 2019
1 parent fd02850 commit acabb06
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AFBW/AdvancedFlyByWire.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion ksp-advanced-flybywire.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"MAJOR": 1,
"MINOR": 8,
"PATCH": 3,
"BUILD": 0
"BUILD": 1
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down

0 comments on commit acabb06

Please sign in to comment.