Skip to content

Commit

Permalink
1.24.1 : Hotfix for issue #112
Browse files Browse the repository at this point in the history
  • Loading branch information
gotmachine committed Jan 19, 2023
1 parent 84f961a commit b30e12a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GameData/KSPCommunityFixes/KSPCommunityFixes.version
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"NAME": "KSPCommunityFixes",
"URL": "https://raw.githubusercontent.com/KSPModdingLibs/KSPCommunityFixes/master/GameData/KSPCommunityFixes/KSPCommunityFixes.version",
"DOWNLOAD": "https://github.com/KSPModdingLibs/KSPCommunityFixes/releases",
"VERSION": {"MAJOR": 1, "MINOR": 24, "PATCH": 0, "BUILD": 0},
"VERSION": {"MAJOR": 1, "MINOR": 24, "PATCH": 1, "BUILD": 0},
"KSP_VERSION": {"MAJOR": 1, "MINOR": 12, "PATCH": 5},
"KSP_VERSION_MIN": {"MAJOR": 1, "MINOR": 8, "PATCH": 0},
"KSP_VERSION_MAX": {"MAJOR": 1, "MINOR": 12, "PATCH": 5}
Expand Down
5 changes: 4 additions & 1 deletion KSPCommunityFixes/Performance/FastLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private void Awake()

void Start()
{
if (!userOptInChoiceDone)
if (IsPatchEnabled && !userOptInChoiceDone)
StartCoroutine(WaitForUserOptIn());
}

Expand All @@ -138,6 +138,9 @@ void Start()
/// </summary>
void OnDestroy()
{
if (!IsPatchEnabled)
return;

harmony.UnpatchAll(HarmonyID);
harmony = null;
loader = null;
Expand Down
4 changes: 2 additions & 2 deletions KSPCommunityFixes/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.24.0.0")]
[assembly: AssemblyFileVersion("1.24.1.0")]

[assembly: KSPAssembly("KSPCommunityFixes", 1, 24, 0)]
[assembly: KSPAssembly("KSPCommunityFixes", 1, 24, 1)]
[assembly: KSPAssemblyDependency("MultipleModulePartAPI", 1, 0, 0)]
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ If doing so in the `Debug` configuration and if your KSP install is modified to

### Changelog

##### 1.24.1
- Fixed [issue #112](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/112) : Cannot dismiss or disable FastLoader opt-in popup on KSP < 1.12.0

##### 1.24.0
- Updated for KSP 1.12.5
- New KSP bugfix patch : [ChutePhantomSymmetry](https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/107), fix parachutes in symmetry keeping their spread angle after decoupling.
Expand Down

0 comments on commit b30e12a

Please sign in to comment.