diff --git a/GameData/CryoTanks/Plugins/SimpleBoiloff.dll b/GameData/CryoTanks/Plugins/SimpleBoiloff.dll index 1f80cbb..b15111b 100644 Binary files a/GameData/CryoTanks/Plugins/SimpleBoiloff.dll and b/GameData/CryoTanks/Plugins/SimpleBoiloff.dll differ diff --git a/GameData/CryoTanks/Versioning/CryoTanks.version b/GameData/CryoTanks/Versioning/CryoTanks.version index 93ab4a7..0813c53 100644 --- a/GameData/CryoTanks/Versioning/CryoTanks.version +++ b/GameData/CryoTanks/Versioning/CryoTanks.version @@ -6,7 +6,7 @@ { "MAJOR":1, "MINOR":6, - "PATCH":2, + "PATCH":3, "BUILD":0 }, "KSP_VERSION": diff --git a/Source/ModuleSimpleBoiloff.cs b/Source/ModuleSimpleBoiloff.cs index a3965fd..3763f0b 100644 --- a/Source/ModuleSimpleBoiloff.cs +++ b/Source/ModuleSimpleBoiloff.cs @@ -249,6 +249,7 @@ void SetDebugMode(bool debug) Fields["D_NetRad"].guiActive = debug; Fields["D_InSolar"].guiActive = debug; Fields["D_InPlanet"].guiActive = debug; + Fields["D_InPlanet"].guiActive = debug; Fields["D_Albedo"].guiActive = debug; Fields["D_Emiss"].guiActive = debug; @@ -385,7 +386,7 @@ public void Update() if (IsCoolable() && HasAnyBoiloffResource) { - Fields["CoolingStatus"].guiActive = true; + Fields["CoolingStatus"].guiActiveEditor = true; Fields["CoolingStatus"].guiActiveEditor = true; double max = GetTotalMaxResouceAmount(); @@ -403,7 +404,7 @@ public void Update() } else { - Fields["CoolingStatus"].guiActive = false; + Fields["CoolingStatus"].guiActiveEditor = false; Events["Disable"].guiActiveEditor = false; Events["Enable"].guiActiveEditor = false; } @@ -554,7 +555,7 @@ public bool ConsumeCharge() } double tolerance = 0.0001; - if (consumedEC >= chargeRequest - tolerance) + if (consumedEC >= (chargeRequest - tolerance)) { boiloff = false; BoiloffStatus = Localizer.Format("#LOC_CryoTanks_ModuleCryoTank_Field_BoiloffStatus_Insulated"); diff --git a/changelog.txt b/changelog.txt index c193814..4bfdcf1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,7 @@ +v1.6.3 +------ +- Bugfixes + v1.6.2 ------ - Refactored boiloff code diff --git a/readme.txt b/readme.txt index 7a95488..20845cc 100644 --- a/readme.txt +++ b/readme.txt @@ -1,5 +1,5 @@ ================= -Cryo Tanks v1.6.2 +Cryo Tanks v1.6.3 ================= A mod pack for Kerbal Space Program, specifically supporting my other mods Kerbal Atomics (https://github.com/ChrisAdderley/KerbalAtomics) and Cryogenic Engines (https://github.com/ChrisAdderley/CryoEngines), dealing with cryogenic fuels, their storage and their properties.