From 830cd3a4733d59935ec7718aa4262d134dc4786a Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 4 Jun 2015 04:43:08 +0100 Subject: fixed: client considered in game even when refused the bug happened when we tried to join a full game. the client had game field set to the actual game even though it is not supposed to participate. Signed-off-by: Olivier Gayot --- CAO_Game.py | 1 + 1 file changed, 1 insertion(+) (limited to 'CAO_Game.py') diff --git a/CAO_Game.py b/CAO_Game.py index 54bbf48..fda7707 100644 --- a/CAO_Game.py +++ b/CAO_Game.py @@ -40,6 +40,7 @@ class CAO_Game(): player = CAO_Player(client, cards) client.set_player(player) + client.set_game(self) self.players.append(player) -- cgit v1.2.3