Skip to content

Commit c19a865

Browse files
committed
Engine thrust units
1 parent f29cde5 commit c19a865

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Source/Engines/UI/EngineConfigGUI.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,10 @@ internal string GetThrustString(ConfigNode node)
11061106
float thrust = _module.scale * _techLevels.ThrustTL(node.GetValue(_module.thrustRating), node);
11071107
if (thrust >= 100f)
11081108
return $"{thrust:N0} kN";
1109+
if (thrust < 1e-3f)
1110+
return $"{thrust * 1e6f:N0} mN";
1111+
if (thrust < 0.01f)
1112+
return $"{thrust * 1e3f:N0} N";
11091113
return $"{thrust:N2} kN";
11101114
}
11111115

0 commit comments

Comments
 (0)