From f706345678fb53464b4aaa821fb21b9b48894150 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 23 Jun 2015 14:45:10 +0100 Subject: server: fixed extra card given to the judge After designating the best card, the judge was given a new card. This patch fixed this behaviour. Signed-off-by: Olivier Gayot --- CAO/Game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CAO/Game.py b/CAO/Game.py index f4123d4..917c055 100644 --- a/CAO/Game.py +++ b/CAO/Game.py @@ -148,7 +148,7 @@ class Game(): # reset the state of the players for p in self.players: - if p.get_has_played: + if p.get_has_played(): idx = p.receive_card(self.board.pick_white_card()) card_idx = p.cards[idx] card_desc = self.white_desc[card_idx] -- cgit v1.2.3