Skip to content

Commit 267e321

Browse files
authored
Merge pull request #143 from KSP-RO/Develop
Updates for 1.12.x
2 parents 0aaaa9c + 55c3318 commit 267e321

File tree

6 files changed

+20
-11
lines changed

6 files changed

+20
-11
lines changed
Binary file not shown.

GameData/ThunderAerospace/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
V0.18.0
2+
Re-compile for KSP 1.12.x.
3+
Fix background resources - Kopernicus solar panels integration.
4+
Fix background resources - NRE spam on Resource Converters.
5+
Fix a NRE log spam on EVA kerbals - usually this involves rescue kerbals.
16
V0.17.0
27
Re-compile for KSP 1.11.x.
38
Fix Kopernicus Solar Panel background processing.

GameData/ThunderAerospace/TacLifeSupport/TacLifeSupport.version

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
"URL": "http://ksp-avc.cybutek.net/version.php?id=9",
44
"DOWNLOAD": "https://github.com/KSP-RO/TacLifeSupport/releases",
55
"CHANGE_LOG_URL": "https://github.com/KSP-RO/TacLifeSupport/wiki/Changes",
6-
"VERSION": "0.17.0.0",
6+
"VERSION": "0.18.0.0",
77
"KSP_VERSION": {
88
"MAJOR": 1,
9-
"MINOR": 11,
9+
"MINOR": 12,
1010
"PATCH": 0
1111
},
1212
"KSP_VERSION_MIN": {
1313
"MAJOR": 1,
14-
"MINOR": 11,
14+
"MINOR": 12,
1515
"PATCH": 0
1616
},
1717
"KSP_VERSION_MAX": {
1818
"MAJOR": 1,
19-
"MINOR": 11,
19+
"MINOR": 12,
2020
"PATCH": 99
2121
}
2222
}

Source/LifeSupportController.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,10 @@ private bool HaveEnoughResource(Vessel vessel, string resourceName, double amoun
13511351
/// <returns></returns>
13521352
private double CalculateElectricityConsumptionRate(Vessel vessel, VesselInfo vesselInfo)
13531353
{
1354+
if (vessel == null || vesselInfo == null)
1355+
{
1356+
return 0d;
1357+
}
13541358
if (!vessel.isEVA)
13551359
{
13561360
if (vesselInfo.numCrew == 0)
@@ -1376,7 +1380,7 @@ private double CalculateElectricityConsumptionRate(Vessel vessel, VesselInfo ves
13761380
private double ConsumeEVALightEC(Vessel vessel)
13771381
{
13781382
double returnAmount = 0;
1379-
if (vessel.isEVA && vessel.loaded)
1383+
if (vessel != null && vessel.isEVA && vessel.loaded)
13801384
{
13811385
KerbalEVA kerbalEVA = vessel.FindPartModuleImplementing<KerbalEVA>();
13821386
if (kerbalEVA != null)

Source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.17.0")]
36-
[assembly: AssemblyFileVersion("0.17.0")]
35+
[assembly: AssemblyVersion("0.18.0")]
36+
[assembly: AssemblyFileVersion("0.18.0")]

Source/TacLifeSupport.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
<Import Project="$(PROGRAMFILES)\MSBuild\ExtensionPack\4.0\MSBuild.ExtensionPack.tasks" Condition="Exists('$(PROGRAMFILES)\MSBuild\ExtensionPack\4.0\MSBuild.ExtensionPack.tasks')" />
135135
<PropertyGroup>
136136
<AssemblyMajorVersion>0</AssemblyMajorVersion>
137-
<AssemblyMinorVersion>17</AssemblyMinorVersion>
137+
<AssemblyMinorVersion>18</AssemblyMinorVersion>
138138
<AssemblyBuildNumber>0</AssemblyBuildNumber>
139139
<AssemblyFileMajorVersion>$(AssemblyMajorVersion)</AssemblyFileMajorVersion>
140140
<AssemblyFileMinorVersion>$(AssemblyMinorVersion)</AssemblyFileMinorVersion>
@@ -153,13 +153,13 @@
153153
<DownloadUrl>https://github.com/KSP-RO/TacLifeSupport/releases</DownloadUrl>
154154
<ChangelogUrl>https://github.com/KSP-RO/TacLifeSupport/wiki/Changes</ChangelogUrl>
155155
<KspVersionMajor>1</KspVersionMajor>
156-
<KspVersionMinor>11</KspVersionMinor>
156+
<KspVersionMinor>12</KspVersionMinor>
157157
<KspVersionPatch>0</KspVersionPatch>
158158
<KspMinVersionMajor>1</KspMinVersionMajor>
159-
<KspMinVersionMinor>11</KspMinVersionMinor>
159+
<KspMinVersionMinor>12</KspMinVersionMinor>
160160
<KspMinVersionPatch>0</KspMinVersionPatch>
161161
<KspMaxVersionMajor>1</KspMaxVersionMajor>
162-
<KspMaxVersionMinor>11</KspMaxVersionMinor>
162+
<KspMaxVersionMinor>12</KspMaxVersionMinor>
163163
<KspMaxVersionPatch>99</KspMaxVersionPatch>
164164
</PropertyGroup>
165165
<Target Name="GitInfo">

0 commit comments

Comments
 (0)