Skip to content

Commit a407e88

Browse files
committed
Correct typing error
1 parent deec96c commit a407e88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/MSTSSteamLocomotive.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2140,21 +2140,21 @@ public override void Initialize()
21402140
Injector1PressureCorrectionFactor = 1.0f;
21412141
Injector1AuxiliaryPressureCorrectionFactor = RefLiveSteamInjector1OptimalBoilerPressurePSI / MaxBoilerPressurePSI;
21422142
if (Simulator.Settings.VerboseConfigurationMessages)
2143-
Trace.TraceInformation("Injector1 Auxiliary Pressure Correction Factor of {0} applied for a Maximum Boiler Pressure of {1}", Injector1NozzleCorrectionFactor, MaxBoilerPressurePSI);
2143+
Trace.TraceInformation("Injector1 Auxiliary Pressure Correction Factor of {0} applied for a Maximum Boiler Pressure of {1}", Injector1AuxiliaryPressureCorrectionFactor, MaxBoilerPressurePSI);
21442144
}
21452145

21462146
if (Injector2Type == "Live")
21472147
{
21482148
Injector2PressureCorrectionFactor = RefLiveSteamInjector2OptimalBoilerPressurePSI / MaxBoilerPressurePSI;
21492149
if (Simulator.Settings.VerboseConfigurationMessages)
2150-
Trace.TraceInformation("Injector2 Pressure Correction Factor of {0} applied for a Maximum Boiler Pressure of {1}", Injector2NozzleCorrectionFactor, MaxBoilerPressurePSI);
2150+
Trace.TraceInformation("Injector2 Pressure Correction Factor of {0} applied for a Maximum Boiler Pressure of {1}", Injector2PressureCorrectionFactor, MaxBoilerPressurePSI);
21512151
}
21522152
else // Exhaust steam injector
21532153
{
21542154
Injector2PressureCorrectionFactor = 1.0f;
21552155
Injector2AuxiliaryPressureCorrectionFactor = RefLiveSteamInjector2OptimalBoilerPressurePSI / MaxBoilerPressurePSI;
21562156
if (Simulator.Settings.VerboseConfigurationMessages)
2157-
Trace.TraceInformation("Injector2 Auxiliary Pressure Correction Factor of {0} applied for a Maximum Boiler Pressure of {1}", Injector2NozzleCorrectionFactor, MaxBoilerPressurePSI);
2157+
Trace.TraceInformation("Injector2 Auxiliary Pressure Correction Factor of {0} applied for a Maximum Boiler Pressure of {1}", Injector2AuxiliaryPressureCorrectionFactor, MaxBoilerPressurePSI);
21582158
}
21592159
}
21602160
else

0 commit comments

Comments
 (0)