Skip to content

Commit

Permalink
merge dev into master (#267)
Browse files Browse the repository at this point in the history
* Add additional TestFlight data to editor and flight PAW (#257)

* Add additional TestFlight data to editor and flight PAW

Goal is to add more engine PAW data similarly to how TestLite did it, so user doesn't have to use TestFlight's editor window.

Editor:

Add rated burn time; additionally display time in minutes for longer burn times (>60 sec), for ease of conversion
Display Continuous Burn Time rating for engine configs that have different continuous and cumulative values.
Add current and max flight data
Add current and max data MTBF
Add current and max data reliability
Add current and max data ignition chance

Flight:

Add current and max flight data
Add MTBF
Color engine failures in orange

* Fix SRMs not having ignition chance in editor PAW (#263)

---------

Co-authored-by: Falki <[email protected]>
Co-authored-by: siimav <[email protected]>
  • Loading branch information
3 people authored Mar 25, 2023
1 parent 2944883 commit 1a90c52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions TestFlightFailure_IgnitionFail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,7 @@ private void GetIgnitionChance(ref float currentIgnitionChance, ref float maxIgn
{
if (core == null)
{
Log("Core is null");
return;
core = TestFlightUtil.GetCore(part);
}

foreach (var failureModule in TestFlightUtil.GetFailureModules(this.part, core.Alias))
Expand Down

0 comments on commit 1a90c52

Please sign in to comment.