Skip to content

Commit

Permalink
MultiServer: fix loading of default hint_cost (ArchipelagoMW#1964)
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver authored Jul 11, 2023
1 parent 5b606e5 commit bff2b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MultiServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2135,7 +2135,7 @@ async def console(ctx: Context):

def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser()
defaults = Utils.get_options()["server_options"]
defaults = Utils.get_options()["server_options"].as_dict()
parser.add_argument('multidata', nargs="?", default=defaults["multidata"])
parser.add_argument('--host', default=defaults["host"])
parser.add_argument('--port', default=defaults["port"], type=int)
Expand Down

0 comments on commit bff2b80

Please sign in to comment.