Skip to content

Commit

Permalink
Only rotate when WS is present
Browse files Browse the repository at this point in the history
  • Loading branch information
jaros-arion committed Feb 16, 2020
1 parent 47f1471 commit 7bc6915
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions BonVoyage/BonVoyage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,11 @@ public void OnVesselGoOffRails(Vessel vessel)
// Stabilize only if another stabilizer is not present
if (!otherStabilizerPresent)
StabilizeVessel.AddVesselToStabilize(vessel, controller.RotationVector, Configuration.DisableRotation);
else // only rotate
{
if (!Configuration.DisableRotation)
StabilizeVessel.Rotate(vessel, controller.RotationVector);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion BonVoyage/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyVersion("1.0.1.1")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
Binary file modified GameData/BonVoyage/Plugins/BonVoyage.dll
Binary file not shown.

0 comments on commit 7bc6915

Please sign in to comment.