Skip to content

Commit

Permalink
NRE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rynchodon committed May 1, 2017
1 parent b092ad5 commit 047e1f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scripts/Autopilot/Navigator/Response/Kamikaze.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public bool CanTarget(IMyCubeGrid grid)
public void UpdateTarget(LastSeen enemy)
{
m_enemy = enemy;
m_navSet.Settings_Task_NavEngage.DestinationEntity = enemy.Entity;
m_navSet.Settings_Task_NavEngage.DestinationEntity = enemy?.Entity;
}

#endregion
Expand Down
2 changes: 1 addition & 1 deletion Scripts/Properties/VersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
//
// Major, Minor, and Build should be set in VersionInfo.cs not VersionInfo - User.cs
// Revision is set by pre-build.py
[assembly: AssemblyVersion("1.80.1.0")]
[assembly: AssemblyVersion("1.80.2.0")]

0 comments on commit 047e1f6

Please sign in to comment.