Fixed an issue with deltaV not calculating in flight.
[VesselSimulator.git] / KerbalEngineer / Flight / Readouts / Vessel / IntakeAirDemandSupply.cs
blob:a/KerbalEngineer/Flight/Readouts/Vessel/IntakeAirDemandSupply.cs -> blob:b/KerbalEngineer/Flight/Readouts/Vessel/IntakeAirDemandSupply.cs
--- a/KerbalEngineer/Flight/Readouts/Vessel/IntakeAirDemandSupply.cs
+++ b/KerbalEngineer/Flight/Readouts/Vessel/IntakeAirDemandSupply.cs
@@ -65,7 +65,7 @@
                 }
                 if (part.Modules.Contains("ModuleEnginesFX"))
                 {
-                    var engine = part.Modules["ModuleEngines"] as ModuleEnginesFX;
+                    var engine = part.Modules["ModuleEnginesFX"] as ModuleEnginesFX;
                     if (engine.isOperational)
                     {
                         demand += engine.propellants