diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-05 13:09:25 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-10-05 13:09:25 -0400 |
| commit | 87cf89b1961564f0daadeaedd1835a0dac01dffc (patch) | |
| tree | 80ff39b37ddcea1d1b7f086b9fe29e52435eb983 /apworld/context.py | |
| parent | ff125bf97e26eecff6e7cbf89f55ffcf6c222fce (diff) | |
| download | lingo2-archipelago-87cf89b1961564f0daadeaedd1835a0dac01dffc.tar.gz lingo2-archipelago-87cf89b1961564f0daadeaedd1835a0dac01dffc.tar.bz2 lingo2-archipelago-87cf89b1961564f0daadeaedd1835a0dac01dffc.zip | |
Add setting for not auto-starting the game
Diffstat (limited to 'apworld/context.py')
| -rw-r--r-- | apworld/context.py | 3 |
1 files changed, 2 insertions, 1 deletions
| 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 | ||
| 616 | def client_main(*launch_args: str) -> None: | 616 | def 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() |
