LttP Client: restore auto-snes

This commit is contained in:
Fabian Dill 2021-06-28 01:27:52 +02:00
parent 43e17f82b0
commit 95e0f551e8
1 changed files with 1 additions and 3 deletions

View File

@ -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()