Skip to content

Commit

Permalink
When a ship is destroyed - another ships are not bumped into it anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandrem committed Feb 8, 2019
1 parent 7d69f3b commit e2a6ced
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ private void PerformShipDestruction(Action callback, bool isFled = false)
{
IsDestroyed = true;

Rules.Collision.ClearBumps(this);
DeactivateAllAbilities();

if (OnShipIsDestroyed != null) OnShipIsDestroyed(this, isFled);
Expand Down

0 comments on commit e2a6ced

Please sign in to comment.