diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-04 05:16:07 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-04 05:16:07 +0100 |
commit | 7d191b337b3114ceaa2ea69b538d3cd4f83bc094 (patch) | |
tree | 077bbdaa019d1d09b398ca8d4beb850fcae86511 | |
parent | 82515ed2370d88dc977da1c0a886b851db948aab (diff) |
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 <duskcoder@gmail.com>
-rw-r--r-- | CAO_Game.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |