Example #1
0
 private void SAB()
 {
     if (SABenabled)
     {
         if (SABstart)
         {
             vessel.ActionGroups.SetGroup(KSPActionGroup.Brakes, false);
             SABbrakes = true;
             AppLauncherButton.SAB_active(true);
         }
         else
         {
             vessel.ActionGroups.SetGroup(KSPActionGroup.Brakes, true);
             AppLauncherButton.SAB_active(false);
             SABbrakes = false;
         }
     }
     else
     {
         AppLauncherButton.SAB_active(false);
     }
 }