Fixed checksfinder client failing when getting an item before sending one, and fixed checksfinder client not appearing in the installer (#383)

This commit is contained in:
jonloveslegos
2022-04-01 01:55:06 -04:00
committed by GitHub
parent d206a562df
commit 06c8caa3cc
2 changed files with 6 additions and 0 deletions

View File

@@ -476,6 +476,8 @@ async def process_server_cmd(ctx: CommonContext, args: dict):
raise Exception('Connection refused by the multiworld host, no reason provided')
elif cmd == 'Connected':
if not os.path.exists(os.path.expandvars(r"%localappdata%/ChecksFinder")):
os.mkdir(os.path.expandvars(r"%localappdata%/ChecksFinder"))
ctx.team = args["team"]
ctx.slot = args["slot"]
ctx.consume_players_package(args["players"])