/// <summary>
 /// Triggers the failure controlled by the failure module
 /// </summary>
 public override void DoFailure()
 {
     base.DoFailure();
     Log("Failing part");
     allowShutdown = engine.allowShutdown;
     engine.Shutdown();
 }
Ejemplo n.º 2
0
        // Failure methods
        public override void DoFailure()
        {
            base.DoFailure();
            if (!TestFlightEnabled)
            {
                return;
            }

            engine.Shutdown();

            if (OneShot && restoreIgnitionCharge)
            {
                RestoreIgnitor();
            }
        }