summaryrefslogtreecommitdiff
path: root/swiftstory/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftstory/client.py')
-rw-r--r--swiftstory/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftstory/client.py b/swiftstory/client.py
index c3a2aff..437a3f9 100644
--- a/swiftstory/client.py
+++ b/swiftstory/client.py
@@ -24,7 +24,7 @@ class Client:
lang = 'en'
try:
- game = self.game_manager.join_game(game_name, lang)
+ game = self.game_manager.find_by_name(game_name, lang)
except UnsupportedLanguage as e:
raise JoinError(f"unsupported language: {str(e)}") from e
# XXX self.game will be assigned by game.try_join()