Added HUD sections to the Flight Engineer.
[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
@@ -20,6 +20,8 @@
 #region Using Directives
 
 using System.Linq;
+
+using KerbalEngineer.Flight.Sections;
 
 #endregion
 
@@ -84,9 +86,9 @@
                 .Sum(p => p.Resources["IntakeAir"].amount);
         }
 
-        public override void Draw()
+        public override void Draw(SectionModule section)
         {
-            this.DrawLine(this.demand.ToString("F4") + " / " + this.supply.ToString("F4"));
+            this.DrawLine(this.demand.ToString("F4") + " / " + this.supply.ToString("F4"), section.IsHud);
         }
 
         public override void Update()