Commit 95bd18ad authored by Eben Blaisdell's avatar Eben Blaisdell

dev change

parent c962c6e4
......@@ -409,6 +409,14 @@ Game.prototype.end = function(winnerIndex){
addToRankings([loser,loserInfo.score]);
io.emit("scoreUpdate",{player:winner,score:winnerInfo.score});
io.emit("scoreUpdate",{player:loser,score:loserInfo.score});
//Clean up
for(var blockId in this.initiative){
var block = this.initiative[blockId]
delete block.interp;
delete block;
}
delete this;
}
Game.prototype.drawArr = function(){
var out = [];
......
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