public override void FixedUpdate() { inputList = new List <ResourceRatio>(); outputList = new List <ResourceRatio>(); base.FixedUpdate(); inputList = inputListClone; outputList = outputListClone; if (heatModule != null) { systemHeatEfficiency = systemEfficiency.Evaluate(heatModule.currentLoopTemperature); } // Update Kerbalism planner UI if (Lib.IsEditor() && editorThermalSim) { KSHUtils.UpdateKerbalismPlannerUI(); } }
public override void FixedUpdate() { // Temporary set Efficiency to zero in order to prevent FixedUpdate from producing resources eff = Efficiency; Efficiency = 0; inputList = new List <ResourceRatio>(); base.FixedUpdate(); inputList = inputListClone; Efficiency = eff; if (Lib.IsFlight()) { canHarvest = CanHarvest(); } if (heatModule != null) { systemHeatEfficiency = systemEfficiency.Evaluate(heatModule.currentLoopTemperature); } // Update Kerbalism planner UI if (Lib.IsEditor() && editorThermalSim) { KSHUtils.UpdateKerbalismPlannerUI(); } }