From 95e0f551e87cf54b318689334bfb46a50e189ed1 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Mon, 28 Jun 2021 01:27:52 +0200 Subject: [PATCH] LttP Client: restore auto-snes --- LttPClient.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LttPClient.py b/LttPClient.py index 13674cbd..4cde4b68 100644 --- a/LttPClient.py +++ b/LttPClient.py @@ -910,14 +910,12 @@ async def main(): logging.exception(e) asyncio.create_task(run_game(adjustedromfile if adjusted else romfile)) - port = None - ctx = Context(args.snes, args.connect, args.password, args.founditems) input_task = asyncio.create_task(console_loop(ctx), name="Input") if ctx.server_task is None: ctx.server_task = asyncio.create_task(server_loop(ctx), name="ServerLoop") - + asyncio.create_task(snes_connect(ctx, ctx.snes_address)) watcher_task = asyncio.create_task(game_watcher(ctx), name="GameWatcher") await ctx.exit_event.wait()