Skip to content

Commit

Permalink
LttP Client: restore auto-snes
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 committed Jun 27, 2021
1 parent 43e17f8 commit 95e0f55
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions LttPClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 95e0f55

Please sign in to comment.