From 7d191b337b3114ceaa2ea69b538d3cd4f83bc094 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 4 Jun 2015 05:16:07 +0100 Subject: show the played cards to the judge after collecting we return the list of played cards to the judge when he collects them. this avoids a query to view_played_cards(). 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 c6072a5..7275f56 100644 --- a/CAO_Game.py +++ b/CAO_Game.py @@ -97,7 +97,7 @@ class CAO_Game(): # we prevent the others to play self.state = self.WAITING_DESIGNATION - return cao_success(None) + return self.try_view_played_cards(player) def try_designate_card(self, player, card_id): -- cgit v1.2.3