Skip to content

Commit

Permalink
Fix the "Auto" button
Browse files Browse the repository at this point in the history
  • Loading branch information
StollD committed Sep 16, 2017
1 parent 15513ab commit e16b5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kopernicus/Kopernicus.Components/KopernicusSolarPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public void ManualTracking()
{
// Assemble the buttons
DialogGUIBase[] options = new DialogGUIBase[KopernicusStar.Stars.Count + 1];
options[0] = new DialogGUIButton("Auto", () => { manualTracking = false; trackingBody = null; PostCalculateTracking(false, Vector3.zero); }, true);
options[0] = new DialogGUIButton("Auto", () => { manualTracking = false; }, true);
for (Int32 i = 0; i < KopernicusStar.Stars.Count; i++)
{
CelestialBody body = KopernicusStar.Stars[i].sun;
Expand Down

0 comments on commit e16b5e4

Please sign in to comment.