Skip to content

Commit

Permalink
Thanks to github user @kfsone for pointing out this error:
Browse files Browse the repository at this point in the history
  added missing ! in ScienceAlertProfileManager.cs to void a null ref exception
  • Loading branch information
linuxgurugamer committed Jun 25, 2021
1 parent 27a1b71 commit d3c99d3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
ChangeLog

1.9.9.1
Thanks to github user @kfsone for pointing out this error:
added missing ! in ScienceAlertProfileManager.cs to void a null ref exception

1.9.9
Disabled some unused code
Thanks to github user @frankieorabona for this:
Expand Down
4 changes: 2 additions & 2 deletions GameData/ScienceAlert/ScienceAlert.version
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"VERSION": {
"MAJOR": 1,
"MINOR": 9,
"PATCH": 8,
"BUILD": 9
"PATCH": 9,
"BUILD": 1
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down
2 changes: 1 addition & 1 deletion ScienceAlert.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"MAJOR": 1,
"MINOR": 9,
"PATCH": 9,
"BUILD": 0
"BUILD": 1
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
Expand Down
2 changes: 1 addition & 1 deletion Source/AssemblyVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

using System.Reflection;

[assembly: AssemblyVersion("1.9.8.9")]
[assembly: AssemblyVersion("1.9.9.1")]
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public static Profile DefaultProfile
get
{
var key = Instance.storedProfiles.Keys.SingleOrDefault(k => k.ToLower().Equals("default"));
if (string.IsNullOrEmpty(key))
if (!string.IsNullOrEmpty(key))
Instance.storedProfiles.Add(key, Profile.MakeDefault());
return Instance.storedProfiles[key];
}
Expand Down

0 comments on commit d3c99d3

Please sign in to comment.