about summary refs log tree commit diff stats
path: root/apworld
diff options
context:
space:
mode:
Diffstat (limited to 'apworld')
-rw-r--r--apworld/__init__.py1
-rw-r--r--apworld/context.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/apworld/__init__.py b/apworld/__init__.py index 1d12050..9e445c7 100644 --- a/apworld/__init__.py +++ b/apworld/__init__.py
@@ -33,6 +33,7 @@ class Lingo2Settings(Group):
33 is_exe = True 33 is_exe = True
34 34
35 exe_file: ExecutableFile = ExecutableFile() 35 exe_file: ExecutableFile = ExecutableFile()
36 start_game: bool = True
36 37
37 38
38class Lingo2World(World): 39class Lingo2World(World):
diff --git a/apworld/context.py b/apworld/context.py index 7b5f0bc..a0ee34d 100644 --- a/apworld/context.py +++ b/apworld/context.py
@@ -615,7 +615,8 @@ async def run_game():
615 615
616def client_main(*launch_args: str) -> None: 616def client_main(*launch_args: str) -> None:
617 async def main(args): 617 async def main(args):
618 async_start(run_game()) 618 if settings.get_settings().lingo2_options.start_game:
619 async_start(run_game())
619 620
620 client_ctx = Lingo2ClientContext(args.connect, args.password) 621 client_ctx = Lingo2ClientContext(args.connect, args.password)
621 game_ctx = Lingo2GameContext() 622 game_ctx = Lingo2GameContext()