diff --git a/MechJeb2/MechJebModuleCustomInfoWindow.cs b/MechJeb2/MechJebModuleCustomInfoWindow.cs index e5a3d7097..5b58ab085 100644 --- a/MechJeb2/MechJebModuleCustomInfoWindow.cs +++ b/MechJeb2/MechJebModuleCustomInfoWindow.cs @@ -282,7 +282,7 @@ public override void OnLoad(ConfigNode local, ConfigNode type, ConfigNode global // an earlier non-saving pass would otherwise suppress the regen in the pass that saves. // Decide staleness from the key's presence on disk so we keep regenerating until the // bumped version is actually persisted. - if (!global.HasValue("customWindowsVersion") || CustomWindowsVersion < CUSTOM_WINDOWS_VERSION) + if (!global.HasValue("CustomWindowsVersion") || CustomWindowsVersion < CUSTOM_WINDOWS_VERSION) { CustomWindowsVersion = CUSTOM_WINDOWS_VERSION; RegenerateDefaultWindows = true;