summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swiftstory/Client.py2
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):