Skip to content

Commit

Permalink
Merge pull request #233 from DMagic1/release
Browse files Browse the repository at this point in the history
Version 16.5
  • Loading branch information
DMagic1 authored Aug 10, 2016
2 parents ee4e155 + 46d64b6 commit e1b5104
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion SCANassets/SCANsat.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MAJOR":1,
"MINOR":1,
"PATCH":6,
"BUILD":4
"BUILD":5
},
"KSP_VERSION":{
"MAJOR":1,
Expand Down
6 changes: 3 additions & 3 deletions SCANmechjeb/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.0.4")]
[assembly: AssemblyFileVersion("1.6.0.4")]
[assembly: AssemblyInformationalVersion ("v16.4")]
[assembly: AssemblyVersion("1.6.0.5")]
[assembly: AssemblyFileVersion("1.6.0.5")]
[assembly: AssemblyInformationalVersion ("v16.5")]

[assembly: KSPAssembly ("SCANmechjeb", 0, 4)]
[assembly: KSPAssemblyDependency ("SCANsat", 1, 6)]
Expand Down
5 changes: 5 additions & 0 deletions SCANsat/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 16.5 - 2016-8-10
------------------------

- Fix bug in electricity usage that was preventing scanning

Version 16.4 - 2016-8-9
------------------------

Expand Down
6 changes: 3 additions & 3 deletions SCANsat/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
[assembly: AssemblyVersion ("1.6.0.4")]
[assembly: AssemblyFileVersion ("1.6.0.4")]
[assembly: AssemblyInformationalVersion ("v16.4")]
[assembly: AssemblyVersion ("1.6.0.5")]
[assembly: AssemblyFileVersion ("1.6.0.5")]
[assembly: AssemblyInformationalVersion ("v16.5")]

[assembly: KSPAssembly ("SCANsat", 1, 6)]

Expand Down
6 changes: 3 additions & 3 deletions SCANsat/SCAN_PartModules/SCANsat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected virtual void FixedUpdate()
ModuleResource resource = resourceInputs[i];
resource.currentRequest = resource.rate * TimeWarp.fixedDeltaTime;
resource.currentAmount = part.RequestResource(resource.id, resource.currentRequest);
if (resource.currentAmount < resource.currentRequest)
if (resource.currentAmount < resource.currentRequest * 0.9)
{
unregisterScanner();
powerIsProblem = true;
Expand Down Expand Up @@ -244,9 +244,9 @@ public override string GetInfo()
if (max_alt != 0)
str += "Altitude ( max): " + (max_alt / 1000).ToString("F0") + " km\n";
if (fov != 0)
str += "FOV: " + fov.ToString("F0") + " °\n";
str += "FOV: " + fov.ToString("F0") + " °";
if (resourceInputs.Count > 0)
str += PartModuleUtil.PrintResourceRequirements("Requires:", resourceInputs.ToArray());
str += PartModuleUtil.PrintResourceRequirements("Requires:", resourceInputs.ToArray()) + "\n";
return str;
}

Expand Down

0 comments on commit e1b5104

Please sign in to comment.