Skip to content

Commit

Permalink
[bugfix] targets no longer explode on contact with non-contact projec…
Browse files Browse the repository at this point in the history
…tiles
  • Loading branch information
Half-Shot committed Dec 28, 2024
1 parent 21de999 commit 6a556ec
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/entities/phys/target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,6 @@ export class WeaponTarget extends PhysicsEntity {
return true;
}

if (
(otherEnt instanceof Worm || otherEnt instanceof BitmapTerrain) === false
) {
this.onExplode();
return true;
}

return false;
}

Expand Down

0 comments on commit 6a556ec

Please sign in to comment.