Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Zarel committed Aug 6, 2012
1 parent d79ee19 commit 92a4f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion battles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2749,7 +2749,7 @@ function Battle(roomid, format, rated) {
p2team: selfB.p2.team,
log: selfB.log
}
this.send('log', JSON.stringify('log'));
this.send('log', JSON.stringify(log));
}
this.send('winupdate', [selfB.winner].concat(selfB.log.slice(logPos)));
} else {
Expand Down

0 comments on commit 92a4f85

Please sign in to comment.