Mercurial > zrpn
changeset 81:c291f10cb3de
fixo
| author | Rene Dudfield <renesd@gmail.com> |
|---|---|
| date | Sun, 08 Jul 2012 13:14:26 +0200 |
| parents | fd7545415b98 |
| children | 3f05c9bd5ad0 |
| files | zrpn/server.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/zrpn/server.py Sun Jul 08 13:13:58 2012 +0200 +++ b/zrpn/server.py Sun Jul 08 13:14:26 2012 +0200 @@ -19,7 +19,6 @@ self.click_time = t animations = self.board.kill_one(packet) animations.extend(self.board.update()) - self.connection.net_score(self.scores[self], max(self.scores.values())) #TODO: scoring. check for animations of kind == 'collumn_row' collumn_rows = [a for a in animations if a[0] == 'collumn_row'] @@ -32,6 +31,7 @@ for connection in self.server.peers.values(): connection.net_animations(animations) + self.connection.net_score(self.scores[self], max(self.scores.values())) def on_connect(self): self.connection.net_init(self.board.board, self.board.cells)
