Skip to content

Commit

Permalink
1.2.2
Browse files Browse the repository at this point in the history
Fix for kerbals on ladders
  • Loading branch information
Xarun committed Oct 15, 2016
1 parent d64b20a commit 5b01e24
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
Binary file not shown.
1 change: 1 addition & 0 deletions source/AutomatedScienceSampler/AutomatedScienceSampler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ private void CheckExperimentOptions(ModuleScienceExperiment experiment, IScience
}
else if (CanTransferExperiment(experiment, activator))
{

activator.Transfer(experiment, scienceContainers[craftSettings.currentContainer - 1]);
}
else if (CanResetExperiment(experiment, activator))
Expand Down
4 changes: 4 additions & 0 deletions source/AutomatedScienceSampler/DefaultActivator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ private string CurrentBiome(ScienceExperiment baseExperiment)
var currentBody = FlightGlobals.currentMainBody;
if (currentVessel != null && currentBody != null)
{
if (currentVessel.isEVA)
{
currentVessel = currentVessel.EVALadderVessel;
}
if (!string.IsNullOrEmpty(currentVessel.landedAt))
{
//big thanks to xEvilReeperx for this one.
Expand Down
2 changes: 1 addition & 1 deletion source/AutomatedScienceSampler/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.2.1")]
[assembly: AssemblyVersion("1.2.2")]
//[assembly: AssemblyFileVersion("0.26.1.0")]

0 comments on commit 5b01e24

Please sign in to comment.