diff --git a/GameData/KerboKatz/AutomatedScienceSampler/automatedsciencesampler.KerboKatzAsset b/GameData/KerboKatz/AutomatedScienceSampler/automatedsciencesampler.KerboKatzAsset index 4aa7566..d3cd1e6 100644 Binary files a/GameData/KerboKatz/AutomatedScienceSampler/automatedsciencesampler.KerboKatzAsset and b/GameData/KerboKatz/AutomatedScienceSampler/automatedsciencesampler.KerboKatzAsset differ diff --git a/source/AutomatedScienceSampler/AutomatedScienceSampler.cs b/source/AutomatedScienceSampler/AutomatedScienceSampler.cs index a3bba9d..063333c 100644 --- a/source/AutomatedScienceSampler/AutomatedScienceSampler.cs +++ b/source/AutomatedScienceSampler/AutomatedScienceSampler.cs @@ -41,7 +41,7 @@ public AutomatedScienceSampler() displayName = "Automated Science Sampler"; settingsUIName = "AutomatedScienceSampler"; tooltip = "Use left click to turn AutomatedScienceSampler on/off.\n Use shift+left click to open the settings menu."; - requiresUtilities = new Version(1, 5, 1); + requiresUtilities = new Version(1, 5, 2); ToolbarBase.instance.Add(this); LoadSettings("AutomatedScienceSampler", "Settings"); Log("Init done!"); @@ -129,7 +129,7 @@ private void GetCraftSettings() protected override void OnUIElemntInit(UIData uiWindow) { var prefabWindow = uiWindow.gameObject.transform as RectTransform; - uiContent = prefabWindow.FindChild("Content"); + uiContent = prefabWindow.Find("Content"); UpdateUIVisuals(); InitToggle(uiContent, "DropOutOfWarp", settings.dropOutOfWarp, OnDropOutOfWarpChange); InitToggle(uiContent, "UsePerCraftSettings", settings.perCraftSetting, OnPerCraftSettingChange); diff --git a/source/AutomatedScienceSampler/Properties/AssemblyInfo.cs b/source/AutomatedScienceSampler/Properties/AssemblyInfo.cs index cfc923a..ddb9220 100644 --- a/source/AutomatedScienceSampler/Properties/AssemblyInfo.cs +++ b/source/AutomatedScienceSampler/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.4")] +[assembly: AssemblyVersion("1.3.5")] //[assembly: AssemblyFileVersion("0.26.1.0")] \ No newline at end of file diff --git a/source/Plugins/DMModuleScienceAnimateGeneric/Properties/AssemblyInfo.cs b/source/Plugins/DMModuleScienceAnimateGeneric/Properties/AssemblyInfo.cs index f1a3bfd..b72627b 100644 --- a/source/Plugins/DMModuleScienceAnimateGeneric/Properties/AssemblyInfo.cs +++ b/source/Plugins/DMModuleScienceAnimateGeneric/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.4")] +[assembly: AssemblyVersion("1.3.5")] //[assembly: AssemblyFileVersion("0.26.1.0")] \ No newline at end of file diff --git a/source/Plugins/DMagic Orbital Science/Properties/AssemblyInfo.cs b/source/Plugins/DMagic Orbital Science/Properties/AssemblyInfo.cs index 4793a40..34658ab 100644 --- a/source/Plugins/DMagic Orbital Science/Properties/AssemblyInfo.cs +++ b/source/Plugins/DMagic Orbital Science/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.4")] +[assembly: AssemblyVersion("1.3.5")] //[assembly: AssemblyFileVersion("0.26.1.0")] \ No newline at end of file diff --git a/source/Plugins/Station Science/Activator.cs b/source/Plugins/Station Science/Activator.cs index 57742d5..47305f6 100644 --- a/source/Plugins/Station Science/Activator.cs +++ b/source/Plugins/Station Science/Activator.cs @@ -24,12 +24,12 @@ public bool CanRunExperiment(ModuleScienceExperiment baseExperiment, float curre Log(currentExperiment.experimentID, ": StationExperiment didn't start yet! You might want to start it manually!"); return false; } - if (StationExperiment.checkBoring(FlightGlobals.ActiveVessel, false)) + if (StationExperiment.CheckBoring(FlightGlobals.ActiveVessel, false)) { Log(currentExperiment.experimentID, ": StationExperiment says this location is boring!"); return false; } - if (!currentExperiment.finished() && !isActive) + if (!currentExperiment.Finished() && !isActive) { Log(currentExperiment.experimentID, ": StationExperiment isn't finished yet!"); return false; diff --git a/source/Plugins/Station Science/Properties/AssemblyInfo.cs b/source/Plugins/Station Science/Properties/AssemblyInfo.cs index c72f5fa..673521a 100644 --- a/source/Plugins/Station Science/Properties/AssemblyInfo.cs +++ b/source/Plugins/Station Science/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.3.4")] +[assembly: AssemblyVersion("1.3.5")] //[assembly: AssemblyFileVersion("0.26.1.0")] \ No newline at end of file