diff --git a/TestFlightAPI/TestFlightAPI/TestFlightFailure.cs b/TestFlightAPI/TestFlightAPI/TestFlightFailure.cs index db543db5..0c44c89d 100644 --- a/TestFlightAPI/TestFlightAPI/TestFlightFailure.cs +++ b/TestFlightAPI/TestFlightAPI/TestFlightFailure.cs @@ -322,7 +322,6 @@ public override void OnStart(StartState state) { if (repairConfig == null && repairConfigString.Length > 0) { - Debug.Log("TestFlightFailureBase: Restoring from packed string"); repairConfig = RepairConfig.FromString(repairConfigString); } base.OnStart(state); @@ -332,7 +331,6 @@ public override void OnLoad(ConfigNode node) { if (node.HasNode("REPAIR")) { - Debug.Log("TestFlightFailureBase: Loading REPAIR node"); repairConfig = new RepairConfig(); repairConfig.Load(node.GetNode("REPAIR")); repairConfigString = repairConfig.ToString(); diff --git a/TestFlightCore/TestFlightCore/TestFlight.cs b/TestFlightCore/TestFlightCore/TestFlight.cs index ba0b100a..54aec9ab 100644 --- a/TestFlightCore/TestFlightCore/TestFlight.cs +++ b/TestFlightCore/TestFlightCore/TestFlight.cs @@ -395,7 +395,6 @@ internal override void Update() // Poll for flight data and part status if (currentUTC >= lastDataPoll + tfScenario.settings.minTimeBetweenDataPoll) { - LogFormatted_DebugOnly("TestFlightManager: Updating part " + part.partInfo.title); DoFlightUpdate(core, entry.Value); TestFlightData currentFlightData = DoDataUpdate(core, part); @@ -558,7 +557,6 @@ public void SetFlightDataForPartName(string partName, PartFlightData data) public override void OnLoad(ConfigNode node) { base.OnLoad(node); - Debug.Log("TestFlightManagerScenario: OnLoad"); if (settings != null) { settings.Load(); @@ -580,7 +578,6 @@ public override void OnLoad(ConfigNode node) public override void OnSave(ConfigNode node) { - Debug.Log("TestFlightManagerScenario: OnSave"); base.OnSave(node); if (settings != null) { diff --git a/TestFlightCore/TestFlightCore/TestFlightCore.cs b/TestFlightCore/TestFlightCore/TestFlightCore.cs index e86cdc1d..4aba8141 100644 --- a/TestFlightCore/TestFlightCore/TestFlightCore.cs +++ b/TestFlightCore/TestFlightCore/TestFlightCore.cs @@ -98,11 +98,9 @@ public override void OnStart(StartState state) failureModules.Clear(); foreach(PartModule pm in this.part.Modules) { - LogFormatted_DebugOnly("TestFlightCore: Inspecting Module " + pm.moduleName + " for ITestFlightFailure interface"); ITestFlightFailure failureModule = pm as ITestFlightFailure; if (failureModule != null) { - LogFormatted_DebugOnly("TestFlightCore: Added Failure Module " + pm.moduleName); failureModules.Add(failureModule); } } @@ -342,7 +340,6 @@ public virtual bool DoFailureCheck(double missionStartTime, double globalReliabi currentReliability = totalReliability * globalReliabilityModifier; // Roll for failure float roll = UnityEngine.Random.Range(0.0f,100.0f); - LogFormatted_DebugOnly("TestFlightCore: " + this.part.name + "(" + this.part.flightID + ") Reliability " + currentReliability + ", Failure Roll " + roll); if (roll > currentReliability) { // Failure occurs. Determine which failure module to trigger @@ -353,9 +350,7 @@ public virtual bool DoFailureCheck(double missionStartTime, double globalReliabi { totalWeight += fm.GetFailureDetails().weight; } - LogFormatted_DebugOnly("TestFlightCore: Total Weight " + totalWeight); chosenWeight = UnityEngine.Random.Range(1,totalWeight); - LogFormatted_DebugOnly("TestFlightCore: Chosen Weight " + chosenWeight); foreach(ITestFlightFailure fm in failureModules) { currentWeight += fm.GetFailureDetails().weight;