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

Bugfix

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