Skip to content

Commit

Permalink
Fixed possible null reference
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEmber committed Jul 18, 2023
1 parent 5669be9 commit 62a6cb1
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 62a6cb1

Please sign in to comment.