SpaceAgeScenario.cs
/// <summary>
/// Checks if a takeoff event should be recorded and adds the event
/// </summary>
/// <param name="ignoreTimer"></param>
Checks if a takeoff event should be recorded and adds the event
Checks if a takeoff event should be recorded and adds the event
void CheckTakeoff(bool ignoreTimer)
        {
            if (takeoff != null && (ignoreTimer || Planetarium.GetUniversalTime() - takeoff.Time >= SpaceAgeChronicleSettings.Instance.MinJumpDuration))
            {
                Core.Log($"CheckTakeoff({ignoreTimer})");
                Vessel v = takeoff.Vessel;
                if (v != null && !v.situation.IsLandedOrSplashed())
                {
                    Core.Log($"Registering takeoff event for {takeoff.Vessel}.");
                    AddChronicleEvent(takeoff);
                    CheckAchievements(ChronicleEvent.Takeoff, takeoff.Vessel);
                }
                else Core.Log($"Takeoff of {v?.vesselName} is not logged.");
                takeoff = null;
            }
        }
void CheckTakeoff ( bool ignoreTimer ) { if ( takeoff != null && ( ignoreTimer || Planetarium . GetUniversalTime ( ) - takeoff . Time >= SpaceAgeChronicleSettings . Instance . MinJumpDuration ) ) { Core . Log ( $" CheckTakeoff( { ignoreTimer } ) " ) ; Vessel v = takeoff . Vessel ; if ( v != null && ! v . situation . IsLandedOrSplashed ( ) ) { Core . Log ( $" Registering takeoff event for  { takeoff . Vessel } . " ) ; AddChronicleEvent ( takeoff ) ; CheckAchievements ( ChronicleEvent . Takeoff , takeoff . Vessel ) ; } else Core . Log ( $" Takeoff of  { v ? . vesselName }  is not logged. " ) ; takeoff = null ; } }
Checks if a takeoff event should be recorded and adds the event
Checks if a takeoff event should be recorded and adds the event
ignoreTimer
bool
None