Skip to content

Commit

Permalink
Merge pull request #355 from ihsoft/next
Browse files Browse the repository at this point in the history
Release v1.24
  • Loading branch information
ihsoft authored Dec 7, 2019
2 parents 4c236d9 + baff86b commit 642c3f4
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 33 deletions.
Binary file not shown.
48 changes: 26 additions & 22 deletions Binaries/KSPDev_Utils.2.0.xml → Binaries/KSPDev_Utils.2.1.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.24 (pre-release):
* [Change] Add a workaround for #354 to not get GUI freezed.
* [Fix #352] Incorrect calculation of resources on the equipped items.

# 1.23 (October 23rd, 2019):
* [Change] `KSP 1.8` compatibility. __WARNING__: the mod won't work with version lower than `KSP 1.8`!
* [Change] Replace `Editor/partGrabModifiers` setting with `Editor/editorPartGrabAction`.
Expand Down
6 changes: 3 additions & 3 deletions KIS.version
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"NAME": "Kerbal Inventory System",
"URL": "https://raw.githubusercontent.com/ihsoft/KIS/master/KIS.version",
"VERSION": {
"BUILD": 41726,
"BUILD": 41031,
"MAJOR": 1,
"MINOR": 23,
"PATCH": 7234
"MINOR": 24,
"PATCH": 7279
}
}
4 changes: 2 additions & 2 deletions Source/KIS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>Q:\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="KSPDev_Utils.2.0">
<HintPath>..\Binaries\KSPDev_Utils.2.0.dll</HintPath>
<Reference Include="KSPDev_Utils.2.1, Version=2.1.7279.39857, Culture=neutral, PublicKeyToken=null">
<HintPath>..\Binaries\KSPDev_Utils.2.1.dll</HintPath>
</Reference>
<Reference Include="System">
<HintPath>Q:\KSP_x64_Data\Managed\System.dll</HintPath>
Expand Down
2 changes: 2 additions & 0 deletions Source/KIS_Item.cs
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,8 @@ void CaptureItemStateFromPart(Part copyFrom) {
+ copyFrom.GetModuleMass(copyFrom.partInfo.partPrefab.mass);
_itemDryCost = copyFrom.partInfo.cost
+ copyFrom.GetModuleCosts(copyFrom.partInfo.cost);
_resourceMass = 0;
_resourceCost = 0;
foreach (var resource in copyFrom.Resources) {
_resourceMass += (float)resource.amount * resource.info.density;
_resourceCost += (float)resource.amount * resource.info.unitCost;
Expand Down
6 changes: 3 additions & 3 deletions Source/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion ("1.23.*")]
[assembly: AssemblyInformationalVersion ("1.23 for KSP 1.8+")]
[assembly: KSPAssembly ("KIS", 1, 23)]
[assembly: AssemblyVersion ("1.24.*")]
[assembly: AssemblyInformationalVersion ("1.24 for KSP 1.8+")]
[assembly: KSPAssembly ("KIS", 1, 24)]
2 changes: 1 addition & 1 deletion Tools/publish_curseforge_args.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
--github=ihsoft/KIS
--versions=latest_all_builds
--title=KIS {tag}
--archive=../KIS_v1.23.zip
--archive=../KIS_v1.24.zip
2 changes: 1 addition & 1 deletion Tools/publish_github_args.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
--changelog=../CHANGELOG.md
--as_draft
--title=KIS v{tag}
--archive=../KIS_v1.23.zip
--archive=../KIS_v1.24.zip
2 changes: 1 addition & 1 deletion Tools/publish_spacedock_args.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
--changelog=../CHANGELOG.md
--github=ihsoft/KIS
--ksp_version=latest
--archive=../KIS_v1.23.zip
--archive=../KIS_v1.24.zip

0 comments on commit 642c3f4

Please sign in to comment.