Commit 53e52b25 authored by Eben Blaisdell's avatar Eben Blaisdell

game end fix

parent e90b456b
......@@ -356,7 +356,7 @@ Game.prototype.attack = function(attacker,killed){
}
}
if(lost){
Game.end(1-team);
this.end(1-team);
}
}
if(killedIndex < attackerIndex){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment