Skip to content

Commit

Permalink
Editor thrust readout now displays atmo/vacuum instead of 1 zero
Browse files Browse the repository at this point in the history
  • Loading branch information
J2583 committed Jun 28, 2024
1 parent a67c268 commit 03ff6d7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
Binary file modified Assets/Plugins/KerbalEngineer.Unity.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion KerbalEngineer.Unity/KerbalEngineer.Unity.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>KerbalEngineer.Unity</RootNamespace>
<AssemblyName>KerbalEngineer.Unity</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions KerbalEngineer/Extensions/PartExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,8 @@ private void SetModuleEngines()
return;
}

MaximumThrust = engine.maxThrust * (engine.thrustPercentage * 0.01);
MinimumThrust = engine.minThrust;
MaximumThrust = engine.MaxThrustOutputVac();
MinimumThrust = engine.MaxThrustOutputAtm();
Propellants = engine.propellants;
}
}
Expand Down
4 changes: 2 additions & 2 deletions KerbalEngineer/KerbalEngineer.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>KerbalEngineer</RootNamespace>
<AssemblyName>KerbalEngineer</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
Expand Down
Binary file modified Output/KerbalEngineer/KerbalEngineer.Unity.dll
Binary file not shown.
Binary file modified Output/KerbalEngineer/KerbalEngineer.dll
Binary file not shown.

0 comments on commit 03ff6d7

Please sign in to comment.