From 5b1ca4b41ea10ed9f81ffb5b18f6b0acb6f9287f Mon Sep 17 00:00:00 2001
From: gotmachine <24925209+gotmachine@users.noreply.github.com>
Date: Sat, 28 Jan 2023 09:32:35 +0100
Subject: [PATCH] 1.24.5 : FIx issue #117, FastLoader patch now requires KSP
version >= 1.12.3 due to PartLoader implementation differences in previous
1.12 patch versions
---
GameData/KSPCommunityFixes/KSPCommunityFixes.version | 2 +-
KSPCommunityFixes/Performance/FastLoader.cs | 4 ++--
KSPCommunityFixes/Properties/AssemblyInfo.cs | 4 ++--
README.md | 5 ++++-
4 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/GameData/KSPCommunityFixes/KSPCommunityFixes.version b/GameData/KSPCommunityFixes/KSPCommunityFixes.version
index aee3d7f..d8285e9 100644
--- a/GameData/KSPCommunityFixes/KSPCommunityFixes.version
+++ b/GameData/KSPCommunityFixes/KSPCommunityFixes.version
@@ -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": 4, "BUILD": 0},
+ "VERSION": {"MAJOR": 1, "MINOR": 24, "PATCH": 5, "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}
diff --git a/KSPCommunityFixes/Performance/FastLoader.cs b/KSPCommunityFixes/Performance/FastLoader.cs
index 66cbe2e..ec583c0 100644
--- a/KSPCommunityFixes/Performance/FastLoader.cs
+++ b/KSPCommunityFixes/Performance/FastLoader.cs
@@ -79,9 +79,9 @@ internal class KSPCFFastLoader : MonoBehaviour
private void Awake()
{
- if (KSPCommunityFixes.KspVersion < new Version(1, 12, 0))
+ if (KSPCommunityFixes.KspVersion < new Version(1, 12, 3))
{
- Debug.Log("[KSPCF] FastLoader patch not applied, requires KSP 1.12+");
+ Debug.Log("[KSPCF] FastLoader patch not applied, requires KSP 1.12.3 or latter");
IsPatchEnabled = false;
return;
}
diff --git a/KSPCommunityFixes/Properties/AssemblyInfo.cs b/KSPCommunityFixes/Properties/AssemblyInfo.cs
index 9ac03ad..6c95222 100644
--- a/KSPCommunityFixes/Properties/AssemblyInfo.cs
+++ b/KSPCommunityFixes/Properties/AssemblyInfo.cs
@@ -30,7 +30,7 @@
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.24.4.0")]
+[assembly: AssemblyFileVersion("1.24.5.0")]
-[assembly: KSPAssembly("KSPCommunityFixes", 1, 24, 4)]
+[assembly: KSPAssembly("KSPCommunityFixes", 1, 24, 5)]
[assembly: KSPAssemblyDependency("MultipleModulePartAPI", 1, 0, 0)]
diff --git a/README.md b/README.md
index 1cecea3..a85c445 100644
--- a/README.md
+++ b/README.md
@@ -95,7 +95,7 @@ User options are available from the "ESC" in-game settings menu :