Skip to content

Commit

Permalink
Merge branch 'dev' - fix for bug #46
Browse files Browse the repository at this point in the history
  • Loading branch information
mwerle committed Jul 31, 2019
2 parents f121a9a + 202aaf6 commit ffcd472
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 11 deletions.
4 changes: 2 additions & 2 deletions GameData/NehemiahInc/NE-KEES.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
{
"MAJOR":0,
"MINOR":8,
"PATCH":1,
"BUILD":28
"PATCH":2,
"BUILD":29
},
"KSP_VERSION":
{
Expand Down
4 changes: 2 additions & 2 deletions GameData/NehemiahInc/NEOS.version
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
{
"MAJOR":0,
"MINOR":8,
"PATCH":1,
"BUILD":29
"PATCH":2,
"BUILD":30
},
"KSP_VERSION":
{
Expand Down
Binary file modified GameData/NehemiahInc/NE_Science_Common/Plugins/NE_Science.dll
Binary file not shown.
Binary file modified GameData/NehemiahInc/NE_Science_Common/Plugins/NE_Science.dll.mdb
Binary file not shown.
4 changes: 2 additions & 2 deletions OrbitalScience.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
- KEES - Kerbal Environmental Effects Study
- NEOS - Nehemiah Enginneering Orbital Science (Was: All-in-One)
-->
<property name="NEOS.Version" value="0.8.1" />
<property name="NEOS.Version" value="0.8.2" />
<property name="OSS.Version" value="0.8.1" />
<property name="KRP.Version" value="0.8.1" />
<property name="KEES.Version" value="0.8.1" />
<property name="KEES.Version" value="0.8.2" />

<property name="CurrMod.dir" value="${build.dir}" />

Expand Down
11 changes: 8 additions & 3 deletions Plugin/NE_Science/NE_Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -473,17 +473,22 @@ public static string AddExperimentAlarm(
/** Deletes a KAC alarm by ID*/
public static bool DeleteAlarm(string alarmId)
{
if( !isKacEnabled() || string.IsNullOrEmpty(alarmId) )
{
return false;
}
return KACAPI.DeleteAlarm(alarmId);
}

/** Deletes a KAC alarm */
public static bool DeleteAlarm(KACWrapper.KACAPI.KACAlarm alarm)
{
if (alarm != null)
if (!isKacEnabled() || alarm == null)
{
return KACAPI.DeleteAlarm(alarm.ID);
return false;

}
return false;
return KACAPI.DeleteAlarm(alarm.ID);
}
}

Expand Down
1 change: 1 addition & 0 deletions Plugin/NE_Science/NE_Science.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
<None Include="../../GameData/**/*.*">
<Link>%(RecursiveDir)%(FileName)</Link>
</None>
<None Include=".editorconfig" />
<None Include="NE_Science.cd" />
</ItemGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
Expand Down
4 changes: 2 additions & 2 deletions Plugin/NE_Science/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.8.3.38")]
[assembly: AssemblyVersion("0.8.3.39")]
#if DEBUG
[assembly: AssemblyInformationalVersion("0.8.3 Debug for KSP 1.7+")]
#else
[assembly: AssemblyInformationalVersion("0.8.3 for KSP 1.7+")]
#endif
[assembly: AssemblyFileVersion("0.8.3.38")]
[assembly: AssemblyFileVersion("0.8.3.39")]
[assembly: KSPAssembly("NE_Science", 0, 83)]

0 comments on commit ffcd472

Please sign in to comment.