Skip to content

Commit

Permalink
Merge pull request #51
Browse files Browse the repository at this point in the history
Fixed possible null reference
  • Loading branch information
Cheackraze authored Jul 18, 2023
2 parents 1681347 + 62a6cb1 commit a36c23c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ private void UpdateHyperspace(float frameTime)
if (shuttle != null)
{
_physics.SetLinearDamping(body, shuttle.LinearDamping);
_physics.SetAngularDamping(body, shuttle.AngularDamping);
}
_physics.SetAngularDamping(body, shuttle.AngularDamping);
}

MapId mapId;
Expand Down

0 comments on commit a36c23c

Please sign in to comment.