Skip to content

Commit

Permalink
#34: Bombs are hurting again
Browse files Browse the repository at this point in the history
  • Loading branch information
wpernath committed Sep 11, 2022
1 parent 3208916 commit 1f6bb45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class BaseWeapon extends Sprite {

// set the bodx for collision etc.
this.body = new Body(this);
//this.body.addShape(new Rect(0, 0, options.width, options.height));
this.body.addShape(new Rect(0, 0, options.width, options.height));
this.body.ignoreGravity = true;
this.body.isStatic = true;
this.body.collisionType = collision.types.PROJECTILE_OBJECT;
Expand Down

0 comments on commit 1f6bb45

Please sign in to comment.