Skip to content
Snippets Groups Projects
Commit 24b5963c authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Bugfix

parent 28cdcaa5
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment