Skip to content

Commit

Permalink
Bomb powerup sound
Browse files Browse the repository at this point in the history
  • Loading branch information
Adhesion committed Oct 10, 2016
1 parent 18c77e3 commit f55265a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bomb.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ GBGJ.Bomb = me.Entity.extend({
if(this.stillActive && other.body.collisionType == me.collision.types.PLAYER_OBJECT){
this.stillActive = false;
other.addBomb();
me.audio.play("powerup");
me.game.world.removeChild(this);
}
return false;
Expand Down

0 comments on commit f55265a

Please sign in to comment.