Skip to content

Commit

Permalink
rapid fire stops on player death
Browse files Browse the repository at this point in the history
  • Loading branch information
metalx1000 committed Jul 4, 2015
1 parent 850c6c4 commit 749e41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/powerups.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function update_powerup(){
}
});

if(game.time.now > player.rapidTime){
if(game.time.now > player.rapidTime && player.alive){
rapid_fire();
}

Expand Down

0 comments on commit 749e41d

Please sign in to comment.