Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 737985: Don't update music if player is dead

  • Loading branch information...
commit bc991a341b059e2e78034aa221f794d81c2c5409 1 parent b99c3ff
@sork sork authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 client/js/game.js
View
4 client/js/game.js
@@ -880,7 +880,9 @@ function(InfoManager, BubbleManager, Renderer, Map, Animation, Sprite, AnimatedT
self.updatePlayerCheckpoint();
- self.audioManager.updateMusic();
+ if(!self.player.isDead) {
+ self.audioManager.updateMusic();
+ }
});
self.player.onStopPathing(function(x, y) {
Please sign in to comment.
Something went wrong with that request. Please try again.