From 9ab59552a07c37ed6be40beca2ee8522943dd94e Mon Sep 17 00:00:00 2001 From: siimav Date: Tue, 2 Jul 2024 13:12:59 +0300 Subject: [PATCH] Fix KSCSwitcher patch using improper KSC name --- Source/RP0/Harmony/KSCSwitcher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/RP0/Harmony/KSCSwitcher.cs b/Source/RP0/Harmony/KSCSwitcher.cs index 1270c001e24..87de274a1c6 100644 --- a/Source/RP0/Harmony/KSCSwitcher.cs +++ b/Source/RP0/Harmony/KSCSwitcher.cs @@ -21,7 +21,7 @@ internal static void Postfix_SetSite(ConfigNode KSC, bool __result) { if (__result && SpaceCenterManagement.Instance != null) { - SpaceCenterManagement.Instance.SetActiveKSC(KSC.name); + SpaceCenterManagement.Instance.SetActiveKSC(KSC.GetValue("name")); } } }