Skip to content

Commit

Permalink
Bug 736987: Replace revive panel with timeout message when appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
sork committed Mar 21, 2012
1 parent 1eb4612 commit 28cae24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/js/game.js
Expand Up @@ -1443,7 +1443,9 @@ function(InfoManager, BubbleManager, Renderer, Map, Animation, Sprite, AnimatedT
});

self.client.onDisconnected(function(message) {
self.player.die();
if(self.player) {
self.player.die();
}
if(self.disconnect_callback) {
self.disconnect_callback(message);
}
Expand Down

0 comments on commit 28cae24

Please sign in to comment.