diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-11-01 23:01:35 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-11-01 23:01:53 +0100 |
commit | d66b6d0115e620f8c12629a5822cf31d3e976a20 (patch) | |
tree | 274019aec11943943d71384f7358825bcd10ac37 /swiftstory/Client.py | |
parent | a1a5bfa76eea4b2e5f086ae8a9a723a68b0d6fe5 (diff) |
fix error not propagated when collecting cards
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'swiftstory/Client.py')
-rw-r--r-- | swiftstory/Client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftstory/Client.py b/swiftstory/Client.py index 45e2f96..93aa900 100644 --- a/swiftstory/Client.py +++ b/swiftstory/Client.py @@ -39,7 +39,7 @@ class Client: def collect_cards(self): if self.game is None: - error('You have to join a game first') + return error('You have to join a game first') return self.game.try_collect_cards(self.player) def designate_card(self, card_id): |