Commit 24b5963c authored by Taddeüs Kroes's avatar Taddeüs Kroes

Bugfix

parent 28cdcaa5
...@@ -84,6 +84,7 @@ class Session: ...@@ -84,6 +84,7 @@ class Session:
else: else:
index = (self.clients.index(self.turn) + 1) % len(self.clients) index = (self.clients.index(self.turn) + 1) % len(self.clients)
self.turn = self.clients[index] self.turn = self.clients[index]
self.bcast('turn', self.turn.player)
def bcast(self, mtype, *args): def bcast(self, mtype, *args):
encoded = Msg(mtype, *args).encode() encoded = Msg(mtype, *args).encode()
......
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